diff --git a/.github/neqsim-engine.sha256 b/.github/neqsim-engine.sha256 new file mode 100644 index 00000000..47e9442e --- /dev/null +++ b/.github/neqsim-engine.sha256 @@ -0,0 +1 @@ +51410f78f6c1d15b22b280836480983e11c21f184eeb5fc8ba0bff985d44fe35 neqsim-3.19.0.jar diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index afaf36d5..3444dc97 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -3,7 +3,7 @@ name: Run pre-commit on pull-requests (and main branch) on: pull_request: push: - branches: [main] + branches: [master] workflow_dispatch: # Trigger manually jobs: diff --git a/.github/workflows/sync-neqsim-engine.yml b/.github/workflows/sync-neqsim-engine.yml new file mode 100644 index 00000000..bf6cd394 --- /dev/null +++ b/.github/workflows/sync-neqsim-engine.yml @@ -0,0 +1,124 @@ +name: Sync bundled NeqSim engine + +on: + push: + branches: + - "release/**" + paths: + - ".github/neqsim-engine.sha256" + - ".github/workflows/sync-neqsim-engine.yml" + - "pyproject.toml" + - "scripts/generate_component_literals.py" + - "scripts/generate_stubs.py" + workflow_dispatch: + inputs: + version: + description: "NeqSim release version; defaults to pyproject.toml" + required: false + type: string + jar_sha256: + description: "Expected JAR SHA-256; defaults to .github/neqsim-engine.sha256" + required: false + type: string + +permissions: + contents: write + +concurrency: + group: sync-neqsim-engine-${{ github.ref }} + cancel-in-progress: false + +jobs: + sync-engine: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + with: + ref: ${{ github.ref_name }} + + - name: Resolve release inputs + id: release + env: + INPUT_VERSION: ${{ inputs.version }} + INPUT_JAR_SHA256: ${{ inputs.jar_sha256 }} + run: | + version="${INPUT_VERSION}" + if [ -z "${version}" ]; then + version="$(python -c 'import tomllib; print(tomllib.load(open("pyproject.toml", "rb"))["project"]["version"])')" + fi + + expected_sha256="${INPUT_JAR_SHA256}" + if [ -z "${expected_sha256}" ]; then + expected_sha256="$(awk 'NR == 1 {print $1}' .github/neqsim-engine.sha256)" + fi + + echo "version=${version}" >> "${GITHUB_OUTPUT}" + echo "expected_sha256=${expected_sha256}" >> "${GITHUB_OUTPUT}" + + - name: Download and verify NeqSim JAR + env: + VERSION: ${{ steps.release.outputs.version }} + EXPECTED_SHA256: ${{ steps.release.outputs.expected_sha256 }} + run: | + jar_name="neqsim-${VERSION}.jar" + curl -fL --retry 3 --retry-delay 2 \ + --output "${RUNNER_TEMP}/${jar_name}" \ + "https://github.com/equinor/neqsim/releases/download/v${VERSION}/${jar_name}" + + actual_sha256="$(sha256sum "${RUNNER_TEMP}/${jar_name}" | awk '{print $1}')" + if [ "${actual_sha256}" != "${EXPECTED_SHA256}" ]; then + echo "JAR checksum mismatch: expected ${EXPECTED_SHA256}, got ${actual_sha256}" >&2 + exit 1 + fi + + find src/neqsim/lib -maxdepth 1 -type f -name 'neqsim-*.jar' -delete + mv "${RUNNER_TEMP}/${jar_name}" "src/neqsim/lib/${jar_name}" + + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: "3.13" + + - name: Set up uv + uses: astral-sh/setup-uv@v5 + + - name: Set up Java + uses: actions/setup-java@v6 + with: + distribution: temurin + java-version: "21" + + - name: Regenerate Java API metadata + run: | + uv sync --group dev + uv run python scripts/generate_stubs.py + uv run python scripts/generate_api_manifest.py + uv run python scripts/generate_component_literals.py + uv run python -c 'from pathlib import Path; [compile(path.read_text(encoding="utf-8"), str(path), "exec") for path in Path("src/jneqsim-stubs").rglob("*.pyi")]' + + - name: Commit release artifacts + env: + VERSION: ${{ steps.release.outputs.version }} + run: | + if git diff --quiet -- \ + src/neqsim/lib \ + src/jneqsim-stubs \ + src/jpype-stubs \ + src/neqsim/data/neqsim_api.json.gz \ + src/neqsim/thermo/component_names.py \ + src/neqsim/thermo/component_names.pyi; then + echo "Bundled engine and generated API metadata are already current." + exit 0 + fi + + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add -A \ + src/neqsim/lib \ + src/jneqsim-stubs \ + src/jpype-stubs \ + src/neqsim/data/neqsim_api.json.gz \ + src/neqsim/thermo/component_names.py \ + src/neqsim/thermo/component_names.pyi + git commit -m "release: bundle NeqSim Java ${VERSION} and refresh API metadata" + git push origin "HEAD:${GITHUB_REF_NAME}" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f62bd4db..a70dca6f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,3 +16,6 @@ repos: rev: 26.5.1 hooks: - id: black + # Java API stubs are generated artifacts owned by stubgenj. Some Java- + # derived names are not valid Python syntax and cannot be parsed by Black. + exclude: ^src/(jneqsim|jpype)-stubs/ diff --git a/conda/meta.yaml b/conda/meta.yaml index a1f789b1..205097cb 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -1,5 +1,5 @@ {% set name = "neqsim" %} -{% set version = "3.18.0" %} +{% set version = "3.19.0" %} package: name: {{ name|lower }} @@ -7,7 +7,7 @@ package: source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: d68cdef13335a62fdfa821c1903f0bc038f7adb236ad41d1818a0216ddcb96c1 + sha256: f9d098a5abdf391e66401fca2bce3cc616bf8a5bb376dc85c1b15a8bdddd7fa2 build: number: 0 diff --git a/docs/release-notes/v3.19.0.md b/docs/release-notes/v3.19.0.md new file mode 100644 index 00000000..64be30bd --- /dev/null +++ b/docs/release-notes/v3.19.0.md @@ -0,0 +1,48 @@ +# NeqSim Python 3.19.0 + +NeqSim Python is the Python interface to the NeqSim engine for thermodynamic +calculations, physical properties, process simulation, and PVT analysis from +Python and Jupyter notebooks. + +## Highlights + +- Bundles the NeqSim Java 3.19.0 engine for Java 17 or newer. +- Makes the thermodynamic, process-simulation, PVT, electrolyte, refinery, + dynamics, engineering-diagram, and safety improvements released in NeqSim + 3.19.0 available through Python and the direct `jneqsim` gateway. +- Retains Python 3.10–3.14 support and the existing NeqSim Python API. + +## Install + +Use pip when you already have Java installed: + +```bash +pip install --upgrade neqsim==3.19.0 +``` + +Use conda when you want OpenJDK installed with the package: + +```bash +conda install -c conda-forge neqsim=3.19.0 +``` + +Requirements: + +- Python 3.10 or newer. +- Java 17 or newer for pip installs. Download Java from + [Adoptium](https://adoptium.net/). +- Conda installs include OpenJDK through conda-forge. + +Verify the installed package version without starting the JVM: + +```bash +python -c "from importlib.metadata import version; print(version('neqsim'))" +``` + +## Useful Links + +- Full changelog: https://github.com/equinor/neqsim-python/compare/v3.18.0...v3.19.0 +- NeqSim Java 3.19.0 release: https://github.com/equinor/neqsim/releases/tag/v3.19.0 +- Documentation: https://equinor.github.io/neqsimhome/ +- Python examples: https://github.com/equinor/neqsim-python/tree/master/examples +- Discussions: https://github.com/equinor/neqsim/discussions diff --git a/environment.yml b/environment.yml index 5f683665..7063d9a9 100644 --- a/environment.yml +++ b/environment.yml @@ -19,4 +19,4 @@ dependencies: # Install neqsim from PyPI until conda-forge package is available - pip - pip: - - neqsim==3.18.0 + - neqsim==3.19.0 diff --git a/examples/equationOfState.py b/examples/equationOfState.py index eb8c2c85..b7d8d00d 100644 --- a/examples/equationOfState.py +++ b/examples/equationOfState.py @@ -212,8 +212,7 @@ def create_wet_gas(eos_name): # ============================================================================= print("\n6. EOS-CG FOR CO2 AND COMBUSTION GASES") print("-" * 40) -print( - """ +print(""" EOS-CG (Equation of State for Combustion Gases) is based on GERG-2008 but optimized for CO2-rich mixtures and combustion product gases. @@ -225,8 +224,7 @@ def create_wet_gas(eos_name): - Blue/green hydrogen with CO2 Components: CO2, N2, O2, Ar, H2O, CO, H2, H2S, SO2, CH4 -""" -) +""") # Create a typical flue gas / CCS mixture print("Example: CO2-rich CCS mixture") @@ -263,8 +261,7 @@ def create_wet_gas(eos_name): # ============================================================================= print("\n7. GUIDELINES FOR EoS SELECTION") print("-" * 40) -print( - """ +print(""" Application | Recommended EoS -------------------------------------|---------------------- Natural gas properties | GERG-2008 (most accurate) @@ -289,6 +286,5 @@ def create_wet_gas(eos_name): Gas hydrates | CPA with hydrate model | Electrolyte solutions (brine) | Electrolyte-CPA -""" -) +""") print("=" * 70) diff --git a/examples/flashCalculations.py b/examples/flashCalculations.py index 35598d5c..ff388c62 100644 --- a/examples/flashCalculations.py +++ b/examples/flashCalculations.py @@ -186,8 +186,7 @@ print("\n" + "=" * 70) print("FLASH CALCULATION SUMMARY") print("=" * 70) -print( - """ +print(""" Flash Type | Given | Find | Application -----------|----------------|----------------|--------------------------- TPflash | T, P | Phases, comp. | General equilibrium @@ -196,6 +195,5 @@ TVflash | T, V | P, phases | Closed vessels VHflash | V, H | T, P, phases | Adiabatic closed systems VUflash | V, U | T, P, phases | Isolated systems -""" -) +""") print("=" * 70) diff --git a/examples/fluidCreation.py b/examples/fluidCreation.py index 3f4da0fb..a02879bd 100644 --- a/examples/fluidCreation.py +++ b/examples/fluidCreation.py @@ -272,8 +272,7 @@ # ============================================================================= print("\n9. COMMONLY USED COMPONENTS") print("-" * 40) -print( - """ +print(""" Category | Component Names -------------------|------------------------------------------------ Light gases | nitrogen, oxygen, argon, helium, hydrogen, H2S @@ -288,8 +287,7 @@ Note: For components not in database, use addTBPfraction() or addPlusFraction() with MW and density. -""" -) +""") # ============================================================================= # 10. ELECTROLYTE FLUIDS diff --git a/examples/hydrateCalculations.py b/examples/hydrateCalculations.py index 0ce1adfa..33dd53dc 100644 --- a/examples/hydrateCalculations.py +++ b/examples/hydrateCalculations.py @@ -31,8 +31,7 @@ # ============================================================================= print("\n1. INTRODUCTION TO GAS HYDRATES") print("-" * 40) -print( - """ +print(""" Gas hydrates form when water and light gases (C1, C2, C3, CO2, H2S) combine under high pressure and low temperature conditions. @@ -44,8 +43,7 @@ - Temperature: Typically < 25°C - Pressure: Typically > 10-20 bara - Presence of free water -""" -) +""") # ============================================================================= # 2. HYDRATE FORMATION TEMPERATURE @@ -116,16 +114,14 @@ # ============================================================================= print("\n4. SUBCOOLING - HYDRATE RISK ASSESSMENT") print("-" * 40) -print( - """ +print(""" Subcooling (ΔT) = Hydrate formation T - Operating T Interpretation: ΔT > 0: Operating BELOW hydrate T → HIGH RISK ΔT = 0: At hydrate equilibrium → BORDERLINE ΔT < 0: Operating ABOVE hydrate T → SAFE -""" -) +""") # Example calculation gas.setPressure(100.0, "bara") @@ -228,8 +224,7 @@ # ============================================================================= print("\n7. INHIBITOR SELECTION GUIDELINES") print("-" * 40) -print( - """ +print(""" ┌─────────────────────────────────────────────────────────────────┐ │ Inhibitor Comparison │ ├────────────┬──────────────────────────────────────────────────┐ @@ -256,16 +251,14 @@ │ │ ✗ Cannot be regenerated │ │ │ → Best for: Drilling fluids, completion ops │ └────────────┴──────────────────────────────────────────────────┘ -""" -) +""") # ============================================================================= # 8. KINETIC HYDRATE INHIBITORS (KHI) # ============================================================================= print("\n8. KINETIC HYDRATE INHIBITORS (KHI)") print("-" * 40) -print( - """ +print(""" Unlike thermodynamic inhibitors (MEG, MeOH) that shift equilibrium, KHIs work by slowing hydrate formation kinetics. @@ -280,8 +273,7 @@ Note: NeqSim primarily calculates thermodynamic equilibrium. KHI effects require separate kinetic models. -""" -) +""") # ============================================================================= # 9. PRACTICAL EXAMPLE: PIPELINE HYDRATE ASSESSMENT @@ -289,16 +281,14 @@ print("\n9. PRACTICAL EXAMPLE: PIPELINE HYDRATE ASSESSMENT") print("-" * 40) -print( - """ +print(""" Scenario: Subsea pipeline from wellhead to platform - Wellhead: 150 bara, 80°C - Pipeline arrival: 80 bara, 5°C - Gas is water-saturated Question: Will hydrates form? How much MEG is needed? -""" -) +""") # Check hydrate risk pipeline_gas = fluid("cpa") diff --git a/examples/mineralScalePrediction.py b/examples/mineralScalePrediction.py index 3f98e91c..d8096c36 100644 --- a/examples/mineralScalePrediction.py +++ b/examples/mineralScalePrediction.py @@ -32,8 +32,7 @@ # ============================================================================= print("\n1. INTRODUCTION TO MINERAL SCALE") print("-" * 40) -print( - """ +print(""" Mineral scale forms when dissolved ions precipitate as solid deposits: Type | Formula | Common Causes @@ -49,16 +48,14 @@ - Equipment damage - Increased operating costs - Production loss -""" -) +""") # ============================================================================= # 2. SATURATION INDEX CONCEPT # ============================================================================= print("\n2. SATURATION INDEX (SI)") print("-" * 40) -print( - """ +print(""" SI = log(IAP / Ksp) Where: @@ -69,8 +66,7 @@ SI > 0: Supersaturated → Scale WILL form SI = 0: At equilibrium → Borderline SI < 0: Undersaturated → Scale will NOT form -""" -) +""") # ============================================================================= # 3. CREATING FORMATION WATER @@ -124,12 +120,10 @@ print(" SO4--: 0.028 mol (2.7 g/L) ← HIGH!") print(" HCO3-: 0.002 mol (122 mg/L)") -print( - """ +print(""" ⚠️ WARNING: Mixing formation water (high Ba++) with seawater (high SO4--) causes severe BaSO4 scale! -""" -) +""") # ============================================================================= # 5. SCALE POTENTIAL CALCULATION @@ -167,8 +161,7 @@ # ============================================================================= print("\n6. EFFECT OF PRESSURE DROP ON CaCO3 SCALE") print("-" * 40) -print( - """ +print(""" CaCO3 (calcite) precipitation is driven by CO2 loss: Ca++ + 2HCO3- ⇌ CaCO3↓ + H2O + CO2↑ @@ -183,8 +176,7 @@ - Wellhead chokes - First stage separator - ESPs (Electrical Submersible Pumps) -""" -) +""") print("\nPressure | Expected CaCO3 Scaling Tendency") print("---------|----------------------------------") @@ -198,8 +190,7 @@ # ============================================================================= print("\n7. BaSO4 SCALE FROM WATER MIXING") print("-" * 40) -print( - """ +print(""" Barite (BaSO4) is one of the hardest scales to remove: Ba++ (formation water) + SO4-- (seawater) → BaSO4↓ @@ -214,8 +205,7 @@ - Low-sulfate seawater injection - Scale inhibitor squeeze treatments - Careful mixing ratio control -""" -) +""") # Simulate mixing at different ratios print("\nMixing formation water with seawater:") @@ -237,8 +227,7 @@ # ============================================================================= print("\n8. SCALE INHIBITORS") print("-" * 40) -print( - """ +print(""" Scale inhibitors prevent crystal growth even when supersaturated: Type | Target Scales @@ -254,16 +243,14 @@ 3. Batch treatment (periodic) Typical dosages: 5-50 ppm based on water volume -""" -) +""") # ============================================================================= # 9. PRACTICAL SCALE ASSESSMENT WORKFLOW # ============================================================================= print("\n9. PRACTICAL SCALE ASSESSMENT WORKFLOW") print("-" * 40) -print( - """ +print(""" Step 1: Water Analysis └─ Measure: Na, K, Ca, Mg, Ba, Sr, Fe, Cl, SO4, HCO3, CO2 @@ -287,16 +274,14 @@ └─ Inhibitor selection and dosage └─ Operating condition optimization └─ Monitoring and intervention plan -""" -) +""") # ============================================================================= # 10. TEMPERATURE EFFECTS SUMMARY # ============================================================================= print("\n10. TEMPERATURE EFFECTS ON SCALE") print("-" * 40) -print( - """ +print(""" Scale Type | Solubility vs Temperature --------------|-------------------------------- CaCO3 | Decreases with increasing T @@ -315,7 +300,6 @@ | SiO2 | Increases significantly with T (Silica) | (Normal solubility) -""" -) +""") print("=" * 70) diff --git a/examples/phaseEquilibrium.py b/examples/phaseEquilibrium.py index bfb03272..5f75fdee 100644 --- a/examples/phaseEquilibrium.py +++ b/examples/phaseEquilibrium.py @@ -144,15 +144,13 @@ # ============================================================================= print("\n4. RETROGRADE CONDENSATION") print("-" * 40) -print( - """ +print(""" Retrograde condensation is a unique phenomenon in gas condensate systems where REDUCING pressure causes MORE liquid to form (counterintuitive!). This occurs between the cricondentherm and critical point at pressures below the cricondenbar. It's important for gas condensate reservoirs. -""" -) +""") # Demonstrate retrograde behavior print("Demonstrating retrograde behavior with the rich gas:") @@ -220,8 +218,7 @@ # ============================================================================= print("\n6. CRICONDENBAR & CRICONDENTHERM SIGNIFICANCE") print("-" * 40) -print( - """ +print(""" ┌─────────────────────────────────────────────────────────────────┐ │ PHASE ENVELOPE │ │ │ @@ -243,7 +240,6 @@ │ ● Above cricondentherm: Heating cannot cause condensation │ │ ● Critical point: Liquid and gas become indistinguishable │ └─────────────────────────────────────────────────────────────────┘ -""" -) +""") print("=" * 70) diff --git a/examples/processApproaches.py b/examples/processApproaches.py index e8bff055..79863740 100644 --- a/examples/processApproaches.py +++ b/examples/processApproaches.py @@ -213,8 +213,7 @@ print("\n" + "=" * 70) print("CHOOSING AN APPROACH") print("=" * 70) -print( - """ +print(""" | Use Case | Recommended Approach | |---------------------------------|-------------------------------| | Learning / tutorials | Wrappers (global process) | @@ -226,5 +225,4 @@ | Clean declarative style | ProcessBuilder | | Mixing wrapper convenience | Hybrid (process= parameter) | with explicit control | | -""" -) +""") diff --git a/examples/processBuilderGUI.py b/examples/processBuilderGUI.py index 9d883429..04a97763 100644 --- a/examples/processBuilderGUI.py +++ b/examples/processBuilderGUI.py @@ -451,8 +451,7 @@ def run_process(): with st.sidebar: st.header("ℹ️ About") - st.markdown( - """ + st.markdown(""" **NeqSim Process Builder GUI** A visual tool for building and simulating @@ -473,8 +472,7 @@ def run_process(): - Valves - Heaters/Coolers - Pipes - """ - ) + """) st.divider() diff --git a/examples/pvtExperimentsAdvanced.py b/examples/pvtExperimentsAdvanced.py index 3c0896ea..349ba998 100644 --- a/examples/pvtExperimentsAdvanced.py +++ b/examples/pvtExperimentsAdvanced.py @@ -318,8 +318,7 @@ # ============================================================================= print("\n8. PVT EXPERIMENTS SUMMARY") print("-" * 40) -print( - """ +print(""" Experiment | Purpose --------------------|---------------------------------------------- CME | Oil compressibility, relative volume, GOR @@ -328,7 +327,6 @@ Separator Test | Optimize surface separation, stock tank oil Swelling Test | EOR potential with gas injection (CO2, HC gas) Viscosity Study | Flow assurance, production optimization -""" -) +""") print("=" * 70) diff --git a/examples/viscosityModels.py b/examples/viscosityModels.py index 58446383..fa96c71d 100644 --- a/examples/viscosityModels.py +++ b/examples/viscosityModels.py @@ -32,8 +32,7 @@ # ============================================================================= print("\n1. AVAILABLE VISCOSITY MODELS") print("-" * 40) -print( - """ +print(""" Model | Keyword | Best For -------------------|--------------------|--------------------------------- LBC | "LBC" | General oil, reservoir fluids @@ -44,8 +43,7 @@ The LBC model is based on corresponding states principle using critical properties. Friction Theory links viscosity to EoS pressure terms, providing thermodynamic consistency. -""" -) +""") # ============================================================================= # 2. BASIC VISCOSITY CALCULATION @@ -91,8 +89,7 @@ # ============================================================================= print("\n3. LBC MODEL (LOHRENZ-BRAY-CLARK)") print("-" * 40) -print( - """ +print(""" The LBC model calculates viscosity as: η = η* + η_dense / ξ_m @@ -114,8 +111,7 @@ a4 = 0.0093324 These parameters can be tuned to match laboratory viscosity data. -""" -) +""") # ============================================================================= # 4. TUNING LBC MODEL PARAMETERS @@ -170,8 +166,7 @@ print(f"Further adjusted (a2=0.10): {tuned_visc_2:.4f} cP") -print( - """ +print(""" LBC Tuning Guidelines: ---------------------- • a0 (index 0): Baseline offset - increase for higher overall viscosity @@ -179,16 +174,14 @@ • a2 (index 2): Quadratic term - significant for liquid viscosity • a3 (index 3): Cubic term - fine-tuning at high density • a4 (index 4): Quartic term - extreme density behavior -""" -) +""") # ============================================================================= # 5. FRICTION THEORY MODEL # ============================================================================= print("\n5. FRICTION THEORY MODEL") print("-" * 40) -print( - """ +print(""" Friction Theory (f-theory) links viscosity to EoS pressure terms: η = η0 + ηf @@ -204,8 +197,7 @@ ✓ Consistent with phase equilibrium calculations ✓ Better extrapolation behavior ✓ Works well for wide T/P ranges -""" -) +""") # ============================================================================= # 6. TUNING FRICTION THEORY - TBP CORRECTION FACTOR @@ -261,8 +253,7 @@ # Reset to default visc_model.setTBPviscosityCorrection(1.0) -print( - """ +print(""" Friction Theory Tuning Guidelines: ---------------------------------- • TBP Correction Factor: @@ -273,8 +264,7 @@ • Use when TBP fractions give incorrect viscosity predictions • Tune to match laboratory viscosity at one T/P condition • Model will extrapolate to other conditions -""" -) +""") # ============================================================================= # 7. ADVANCED: TUNING WITH EXPERIMENTAL DATA @@ -296,8 +286,7 @@ for pt in exp_data: print(f"{pt['T_C']:6} | {pt['P_bara']:8} | {pt['visc_cP']:.2f}") -print( - """ +print(""" Tuning Workflow: ---------------- 1. Create fluid with accurate composition @@ -312,8 +301,7 @@ For automatic optimization, use NeqSim's parameter fitting capabilities with the ViscosityFunction class in PVT simulation. -""" -) +""") # ============================================================================= # 8. MODEL COMPARISON AT DIFFERENT CONDITIONS @@ -368,8 +356,7 @@ # ============================================================================= print("\n9. HEAVY OIL CONSIDERATIONS") print("-" * 40) -print( - """ +print(""" For heavy oils (API < 20°, viscosity > 100 cP), consider: 1. Use PFCT-Heavy-Oil model: @@ -382,16 +369,14 @@ 4. Temperature sensitivity is critical - ensure accurate measurements 5. Consider using Pedersen corresponding states for very heavy systems -""" -) +""") # ============================================================================= # 10. SUMMARY # ============================================================================= print("\n10. SUMMARY: MODEL SELECTION GUIDELINES") print("-" * 40) -print( - """ +print(""" ┌────────────────────┬──────────────────────────────────────────┐ │ Oil Type │ Recommended Model & Notes │ ├────────────────────┼──────────────────────────────────────────┤ @@ -407,7 +392,6 @@ │ Extra-heavy │ Specialized correlations │ │ (API < 10°) │ May require custom viscosity data │ └────────────────────┴──────────────────────────────────────────┘ -""" -) +""") print("=" * 70) diff --git a/pyproject.toml b/pyproject.toml index e5e75ead..33016ac5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "neqsim" -version = "3.18.0" +version = "3.19.0" description = "NeqSim is a tool for thermodynamic and process calculations" authors = [{ name = "Even Solbraa", email = "esolbraa@gmail.com" }] requires-python = ">=3.10,<4" diff --git a/scripts/generate_component_literals.py b/scripts/generate_component_literals.py index eed081aa..1f5004fa 100644 --- a/scripts/generate_component_literals.py +++ b/scripts/generate_component_literals.py @@ -16,6 +16,7 @@ from __future__ import annotations import argparse +import json import sys from pathlib import Path from typing import List @@ -46,7 +47,9 @@ def _render_pyi(names: List[str]) -> str: Returns: The stub file contents. """ - literals = ",\n ".join(repr(n) for n in names) + # JSON string encoding uses the double-quoted representation emitted by + # Black, keeping the generated stub stable across pre-commit runs. + literals = ",\n ".join(json.dumps(n) for n in names) return ( "# Auto-generated by scripts/generate_component_literals.py - do not edit.\n" "from typing import Literal, Tuple\n\n" @@ -65,7 +68,7 @@ def _render_py(names: List[str]) -> str: Returns: The module file contents. """ - joined = ",\n ".join(repr(n) for n in names) + joined = ",\n ".join(json.dumps(n) for n in names) header = ( '"""Auto-generated NeqSim component names.\n\n' "See scripts/generate_component_literals.py. ComponentName is a plain\n" @@ -94,7 +97,9 @@ def main(argv: List[str] | None = None) -> int: names = _component_names() if not names: - print("No component names found (is the NeqSim jar available?)", file=sys.stderr) + print( + "No component names found (is the NeqSim jar available?)", file=sys.stderr + ) return 1 out_dir = Path(args.out_dir) diff --git a/scripts/generate_stubs.py b/scripts/generate_stubs.py index 903cad6a..3cd70b94 100644 --- a/scripts/generate_stubs.py +++ b/scripts/generate_stubs.py @@ -40,6 +40,35 @@ def rename_package_in_stubs(stubs_dir: Path, old_name: str, new_name: str): pyi_file.write_text(new_content, encoding="utf-8") +def sanitize_python_local_references(stubs_dir: Path): + """Remove Python mixin implementation details from generated Java stubs. + + Rich notebook display is registered through local Python mixin classes such + as ``register.._StreamDisplay``. JPype exposes those runtime bases + to stubgenj, but their qualified names are not valid Python syntax and must + not be written to ``.pyi`` files. + + Args: + stubs_dir: Directory containing generated stub files. + """ + local_type = r"register\.\.[A-Za-z_][A-Za-z0-9_]*" + local_import = rf"^from [A-Za-z0-9_.]+ import {local_type}\n" + + for pyi_file in stubs_dir.rglob("*.pyi"): + content = pyi_file.read_text(encoding="utf-8") + new_content = re.sub(local_import, "", content, flags=re.MULTILINE) + new_content = re.sub(rf",\s*{local_type}", "", new_content) + new_content = re.sub(rf"{local_type},\s*", "", new_content) + new_content = re.sub(local_type, "typing.Protocol", new_content) + new_content = ( + "\n".join(line.rstrip() for line in new_content.splitlines()).rstrip() + + "\n" + ) + + if new_content != content: + pyi_file.write_text(new_content, encoding="utf-8") + + def generate_stubs(): """Generate type stubs for neqsim Java classes.""" import jpype @@ -77,6 +106,7 @@ def generate_stubs(): if neqsim_stubs.exists(): print("Renaming 'neqsim' -> 'jneqsim' in stubs to avoid naming conflict...") rename_package_in_stubs(temp_output_dir, "neqsim", "jneqsim") + sanitize_python_local_references(temp_output_dir) # Clean up existing jneqsim-stubs output jneqsim_stubs_out = src_path / "jneqsim-stubs" diff --git a/src/jneqsim-stubs/__init__.pyi b/src/jneqsim-stubs/__init__.pyi index 8ecd6e97..68d7ac4f 100644 --- a/src/jneqsim-stubs/__init__.pyi +++ b/src/jneqsim-stubs/__init__.pyi @@ -1,5 +1,5 @@ -import sys +import sys if sys.version_info >= (3, 8): from typing import Protocol else: @@ -23,6 +23,7 @@ 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/chemicalreactions/__init__.pyi b/src/jneqsim-stubs/chemicalreactions/__init__.pyi index 21860ed2..da424479 100644 --- a/src/jneqsim-stubs/chemicalreactions/__init__.pyi +++ b/src/jneqsim-stubs/chemicalreactions/__init__.pyi @@ -6,6 +6,7 @@ else: from typing_extensions import Protocol import java.lang +import java.util import jneqsim.chemicalreactions.chemicalequilibrium import jneqsim.chemicalreactions.chemicalreaction import jneqsim.chemicalreactions.kinetics @@ -30,8 +31,15 @@ class ChemicalReactionOperations(jneqsim.thermo.ThermodynamicConstantsInterface, def getAmatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getComponents(self) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... def getDeltaReactionHeat(self) -> float: ... + def getElementBalanceResiduals(self) -> java.util.Map[java.lang.String, float]: ... def getKinetics(self) -> jneqsim.chemicalreactions.kinetics.Kinetics: ... + def getMaximumAbsoluteElementBalanceResidual(self) -> float: ... + def getMaximumAbsoluteReactionLogResidual(self) -> float: ... + def getNormalizedReactivePhaseChargeResidual(self) -> float: ... + def getReactionDataSource(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionDataSource: ... def getReactionList(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionList: ... + def getReactionLogResiduals(self) -> java.util.Map[java.lang.String, float]: ... + def getReactivePhaseChargeMoles(self) -> float: ... def hasReactions(self) -> bool: ... def reacHeat(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload diff --git a/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi b/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi index 7d29bac4..5f03c318 100644 --- a/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi +++ b/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi @@ -19,12 +19,21 @@ import typing class ChemicalReaction(jneqsim.util.NamedBaseClass, jneqsim.thermo.ThermodynamicConstantsInterface): + @typing.overload 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): ... + @typing.overload + 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, string3: typing.Union[java.lang.String, str]): ... + @typing.overload + 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, string3: typing.Union[java.lang.String, str], chemicalReactionValidationStatus: 'ChemicalReactionValidationStatus'): ... 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 calcLogReactionQuotient(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... + def calcLogReactionResidual(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... + def calcLogSaturationRatio(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... def checkK(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... def getActivationEnergy(self) -> float: ... + def getEquilibriumConstantCoefficients(self) -> typing.MutableSequence[float]: ... @typing.overload def getK(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload @@ -37,8 +46,11 @@ class ChemicalReaction(jneqsim.util.NamedBaseClass, jneqsim.thermo.Thermodynamic 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 getReference(self) -> java.lang.String: ... + def getReferenceTemperature(self) -> float: ... def getSaturationRatio(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... def getStocCoefs(self) -> typing.MutableSequence[float]: ... + def getValidationStatus(self) -> 'ChemicalReactionValidationStatus': ... 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: ... @@ -49,6 +61,36 @@ class ChemicalReaction(jneqsim.util.NamedBaseClass, jneqsim.thermo.Thermodynamic def setK(self, int: int, double: float) -> None: ... def setRateFactor(self, double: float) -> None: ... +class ChemicalReactionConcentrationBasis(java.lang.Enum['ChemicalReactionConcentrationBasis']): + MOLE_FRACTION: typing.ClassVar['ChemicalReactionConcentrationBasis'] = ... + SOLUTE_MOLALITY: typing.ClassVar['ChemicalReactionConcentrationBasis'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ChemicalReactionConcentrationBasis': ... + @staticmethod + def values() -> typing.MutableSequence['ChemicalReactionConcentrationBasis']: ... + +class ChemicalReactionDataSource(java.lang.Enum['ChemicalReactionDataSource']): + STANDARD: typing.ClassVar['ChemicalReactionDataSource'] = ... + PITZER: typing.ClassVar['ChemicalReactionDataSource'] = ... + KENT_EISENBERG: typing.ClassVar['ChemicalReactionDataSource'] = ... + def getDatabaseTableName(self) -> java.lang.String: ... + def getIdentifier(self) -> java.lang.String: ... + def requiresValidatedActiveReactions(self) -> bool: ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ChemicalReactionDataSource': ... + @staticmethod + def values() -> typing.MutableSequence['ChemicalReactionDataSource']: ... + class ChemicalReactionFactory: @staticmethod def getChemicalReaction(string: typing.Union[java.lang.String, str]) -> ChemicalReaction: ... @@ -69,6 +111,7 @@ class ChemicalReactionList(jneqsim.thermo.ThermodynamicConstantsInterface): def getReaction(self, int: int) -> ChemicalReaction: ... @typing.overload def getReaction(self, string: typing.Union[java.lang.String, str]) -> ChemicalReaction: ... + def getReactionDataSource(self) -> ChemicalReactionDataSource: ... def getReactionGMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getReactionMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getStocMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @@ -77,13 +120,71 @@ class ChemicalReactionList(jneqsim.thermo.ThermodynamicConstantsInterface): 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 requireValidatedEvidenceForActiveReactions(self) -> 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 ChemicalReactionModelAudit: + @typing.overload + @staticmethod + def compare(auditSnapshot: 'ChemicalReactionModelAudit.AuditSnapshot', auditSnapshot2: 'ChemicalReactionModelAudit.AuditSnapshot') -> 'ChemicalReactionModelAudit.AuditComparison': ... + @typing.overload + @staticmethod + def compare(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface) -> 'ChemicalReactionModelAudit.AuditComparison': ... + @staticmethod + def inspect(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ChemicalReactionModelAudit.AuditSnapshot': ... + class AuditComparison: + def getParameterDifferences(self) -> java.util.List[java.lang.String]: ... + def getReactionsOnlyInFirst(self) -> java.util.List[java.lang.String]: ... + def getReactionsOnlyInSecond(self) -> java.util.List[java.lang.String]: ... + def hasSameReactionConcentrationBasis(self) -> bool: ... + def hasSameReactionDataSource(self) -> bool: ... + def isEquivalent(self) -> bool: ... + def requireEquivalent(self) -> None: ... + class AuditSnapshot: + def getModelName(self) -> java.lang.String: ... + def getReactionConcentrationBasis(self) -> ChemicalReactionConcentrationBasis: ... + def getReactionCount(self) -> int: ... + def getReactionDataSource(self) -> ChemicalReactionDataSource: ... + def getReactions(self) -> java.util.List['ChemicalReactionModelAudit.ReactionParameterSnapshot']: ... + def getReactionsWithoutValidatedEvidence(self) -> java.util.List[java.lang.String]: ... + def hasValidatedEvidenceForAllActiveReactions(self) -> bool: ... + def requireValidatedEvidenceForAllActiveReactions(self) -> None: ... + class ReactionParameterSnapshot(java.lang.Comparable['ChemicalReactionModelAudit.ReactionParameterSnapshot']): + def compareTo(self, reactionParameterSnapshot: 'ChemicalReactionModelAudit.ReactionParameterSnapshot') -> int: ... + def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getEquilibriumConstantCoefficients(self) -> typing.MutableSequence[float]: ... + def getName(self) -> java.lang.String: ... + def getReference(self) -> java.lang.String: ... + def getReferenceTemperature(self) -> float: ... + def getStoichiometricCoefficients(self) -> typing.MutableSequence[float]: ... + def getValidationStatus(self) -> 'ChemicalReactionValidationStatus': ... + def hasSameParameters(self, reactionParameterSnapshot: 'ChemicalReactionModelAudit.ReactionParameterSnapshot') -> bool: ... + +class ChemicalReactionValidationStatus(java.lang.Enum['ChemicalReactionValidationStatus']): + VALIDATED: typing.ClassVar['ChemicalReactionValidationStatus'] = ... + UNVALIDATED: typing.ClassVar['ChemicalReactionValidationStatus'] = ... + UNSPECIFIED: typing.ClassVar['ChemicalReactionValidationStatus'] = ... + @staticmethod + def fromDatabaseValue(string: typing.Union[java.lang.String, str]) -> 'ChemicalReactionValidationStatus': ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ChemicalReactionValidationStatus': ... + @staticmethod + def values() -> typing.MutableSequence['ChemicalReactionValidationStatus']: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.chemicalreactions.chemicalreaction")``. ChemicalReaction: typing.Type[ChemicalReaction] + ChemicalReactionConcentrationBasis: typing.Type[ChemicalReactionConcentrationBasis] + ChemicalReactionDataSource: typing.Type[ChemicalReactionDataSource] ChemicalReactionFactory: typing.Type[ChemicalReactionFactory] ChemicalReactionList: typing.Type[ChemicalReactionList] + ChemicalReactionModelAudit: typing.Type[ChemicalReactionModelAudit] + ChemicalReactionValidationStatus: typing.Type[ChemicalReactionValidationStatus] diff --git a/src/jneqsim-stubs/mcp/catalog/__init__.pyi b/src/jneqsim-stubs/mcp/catalog/__init__.pyi index 58a1a738..7d43034a 100644 --- a/src/jneqsim-stubs/mcp/catalog/__init__.pyi +++ b/src/jneqsim-stubs/mcp/catalog/__init__.pyi @@ -67,6 +67,8 @@ class ExampleCatalog: @staticmethod def processCompressionWithCooling() -> java.lang.String: ... @staticmethod + def processMixerSplitterRecycle() -> java.lang.String: ... + @staticmethod def processSimpleSeparation() -> java.lang.String: ... @staticmethod def propertyTablePressureSweep() -> java.lang.String: ... @@ -161,6 +163,10 @@ class SchemaCatalog: @staticmethod def hazopOutputSchema() -> java.lang.String: ... @staticmethod + def inspectApiInputSchema() -> java.lang.String: ... + @staticmethod + def inspectApiOutputSchema() -> java.lang.String: ... + @staticmethod def materialsReviewInputSchema() -> java.lang.String: ... @staticmethod def materialsReviewOutputSchema() -> java.lang.String: ... @@ -197,6 +203,10 @@ class SchemaCatalog: @staticmethod def rootCauseOutputSchema() -> java.lang.String: ... @staticmethod + def runCapabilityInputSchema() -> java.lang.String: ... + @staticmethod + def runCapabilityOutputSchema() -> java.lang.String: ... + @staticmethod def safetySystemPerformanceInputSchema() -> java.lang.String: ... @staticmethod def safetySystemPerformanceOutputSchema() -> java.lang.String: ... diff --git a/src/jneqsim-stubs/mcp/runners/__init__.pyi b/src/jneqsim-stubs/mcp/runners/__init__.pyi index 4ebec062..edbd0294 100644 --- a/src/jneqsim-stubs/mcp/runners/__init__.pyi +++ b/src/jneqsim-stubs/mcp/runners/__init__.pyi @@ -19,6 +19,10 @@ class AgenticEngineeringRunner: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... +class ApiKnowledgeRunner: + @staticmethod + def inspect(string: typing.Union[java.lang.String, str], string2: 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: ... @@ -74,14 +78,6 @@ class BioprocessRunner: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... -class CapabilitiesRunner: - @staticmethod - def getCapabilities() -> java.lang.String: ... - @staticmethod - def getSetupTemplate(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - @staticmethod - def getSetupTemplates() -> java.lang.String: ... - class ChemistryRunner: @staticmethod def getSupportedAnalyses() -> java.util.List[java.lang.String]: ... @@ -164,6 +160,12 @@ class FlowAssuranceRunner: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... +class GeneralCapabilityRunner: + @staticmethod + def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def search(string: typing.Union[java.lang.String, str], int: int) -> java.lang.String: ... + class HAZOPStudyRunner: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... @@ -256,6 +258,32 @@ class MaterialsReviewRunner: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... +class McpAcceptanceBaselineRunner: + @staticmethod + def describe() -> com.google.gson.JsonObject: ... + @staticmethod + def run() -> com.google.gson.JsonObject: ... + +class McpAcceptanceFixtureCatalog: + @staticmethod + def build() -> com.google.gson.JsonObject: ... + @staticmethod + def largeFacilityInput() -> java.lang.String: ... + @staticmethod + def multiAreaInput() -> java.lang.String: ... + @staticmethod + def singleCalculationInput() -> java.lang.String: ... + @staticmethod + def smallTrainInput() -> java.lang.String: ... + +class McpCampaignMatrix: + @staticmethod + def build() -> com.google.gson.JsonObject: ... + +class McpEvidenceInventory: + @staticmethod + def build() -> com.google.gson.JsonObject: ... + class McpExecutionPolicy: @staticmethod def activeOperations(string: typing.Union[java.lang.String, str]) -> int: ... @@ -276,6 +304,8 @@ class McpExecutionPolicy: @staticmethod def workerPool() -> java.util.concurrent.ExecutorService: ... +class McpImplementationInventory: ... + class McpRequestContext: @staticmethod def clear() -> None: ... @@ -506,12 +536,12 @@ class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mcp.runners")``. AgenticEngineeringRunner: typing.Type[AgenticEngineeringRunner] + ApiKnowledgeRunner: typing.Type[ApiKnowledgeRunner] AutomationRunner: typing.Type[AutomationRunner] BarrierRegisterRunner: typing.Type[BarrierRegisterRunner] BatchRunner: typing.Type[BatchRunner] BenchmarkTrust: typing.Type[BenchmarkTrust] BioprocessRunner: typing.Type[BioprocessRunner] - CapabilitiesRunner: typing.Type[CapabilitiesRunner] ChemistryRunner: typing.Type[ChemistryRunner] ComponentQuery: typing.Type[ComponentQuery] CompositionRunner: typing.Type[CompositionRunner] @@ -524,12 +554,18 @@ class __module_protocol__(Protocol): FlareRadiationRunner: typing.Type[FlareRadiationRunner] FlashRunner: typing.Type[FlashRunner] FlowAssuranceRunner: typing.Type[FlowAssuranceRunner] + GeneralCapabilityRunner: typing.Type[GeneralCapabilityRunner] HAZOPStudyRunner: typing.Type[HAZOPStudyRunner] HazopScenarioRunner: typing.Type[HazopScenarioRunner] IndustrialProfile: typing.Type[IndustrialProfile] LOPARunner: typing.Type[LOPARunner] MaterialsReviewRunner: typing.Type[MaterialsReviewRunner] + McpAcceptanceBaselineRunner: typing.Type[McpAcceptanceBaselineRunner] + McpAcceptanceFixtureCatalog: typing.Type[McpAcceptanceFixtureCatalog] + McpCampaignMatrix: typing.Type[McpCampaignMatrix] + McpEvidenceInventory: typing.Type[McpEvidenceInventory] McpExecutionPolicy: typing.Type[McpExecutionPolicy] + McpImplementationInventory: typing.Type[McpImplementationInventory] McpRequestContext: typing.Type[McpRequestContext] McpRunnerPlugin: typing.Type[McpRunnerPlugin] ModelRegistry: typing.Type[ModelRegistry] diff --git a/src/jneqsim-stubs/process/chemistry/__init__.pyi b/src/jneqsim-stubs/process/chemistry/__init__.pyi index 6fd7d91a..f0212e9c 100644 --- a/src/jneqsim-stubs/process/chemistry/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/__init__.pyi @@ -11,6 +11,7 @@ import java.util import jneqsim.process.chemistry.acid import jneqsim.process.chemistry.asphaltene import jneqsim.process.chemistry.corrosion +import jneqsim.process.chemistry.electrochlorination import jneqsim.process.chemistry.equipment import jneqsim.process.chemistry.hydrate import jneqsim.process.chemistry.rca @@ -195,6 +196,7 @@ class __module_protocol__(Protocol): acid: jneqsim.process.chemistry.acid.__module_protocol__ asphaltene: jneqsim.process.chemistry.asphaltene.__module_protocol__ corrosion: jneqsim.process.chemistry.corrosion.__module_protocol__ + electrochlorination: jneqsim.process.chemistry.electrochlorination.__module_protocol__ equipment: jneqsim.process.chemistry.equipment.__module_protocol__ hydrate: jneqsim.process.chemistry.hydrate.__module_protocol__ rca: jneqsim.process.chemistry.rca.__module_protocol__ diff --git a/src/jneqsim-stubs/process/chemistry/electrochlorination/__init__.pyi b/src/jneqsim-stubs/process/chemistry/electrochlorination/__init__.pyi new file mode 100644 index 00000000..6c130764 --- /dev/null +++ b/src/jneqsim-stubs/process/chemistry/electrochlorination/__init__.pyi @@ -0,0 +1,34 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import java.lang +import java.util +import typing + + + +class SeawaterElectrolyteConductivity(java.io.Serializable): + REFERENCE_CONDUCTIVITY_S_PER_M: typing.ClassVar[float] = ... + def __init__(self): ... + def calculate(self) -> 'SeawaterElectrolyteConductivity': ... + def getConductivitySPerM(self) -> float: ... + def getResistivityOhmM(self) -> float: ... + def isEvaluated(self) -> bool: ... + def ohmicVoltage(self, double: float, double2: float, double3: float, int: int) -> float: ... + def ohmicVoltageRatioVersusTemperature(self, double: float) -> float: ... + def setPressureBara(self, double: float) -> 'SeawaterElectrolyteConductivity': ... + def setSalinityPsu(self, double: float) -> 'SeawaterElectrolyteConductivity': ... + def setTemperatureCelsius(self, double: float) -> 'SeawaterElectrolyteConductivity': ... + 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.electrochlorination")``. + + SeawaterElectrolyteConductivity: typing.Type[SeawaterElectrolyteConductivity] diff --git a/src/jneqsim-stubs/process/chemistry/scale/__init__.pyi b/src/jneqsim-stubs/process/chemistry/scale/__init__.pyi index a8cd90c5..cb694d7c 100644 --- a/src/jneqsim-stubs/process/chemistry/scale/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/scale/__init__.pyi @@ -57,9 +57,11 @@ class ElectrolyteScaleCalculator(java.io.Serializable): def calculate(self) -> 'ElectrolyteScaleCalculator': ... def getActivityCoefficients(self) -> java.util.Map[java.lang.String, float]: ... def getBaSO4SaturationIndex(self) -> float: ... + def getBruciteSaturationIndex(self) -> float: ... def getCaCO3SaturationIndex(self) -> float: ... def getCaSO4SaturationIndex(self) -> float: ... def getDebyeHueckelA(self) -> float: ... + def getHydroxideActivity(self) -> float: ... def getIonicStrength(self) -> float: ... def getSrSO4SaturationIndex(self) -> float: ... def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... diff --git a/src/jneqsim-stubs/process/controllerdevice/__init__.pyi b/src/jneqsim-stubs/process/controllerdevice/__init__.pyi index cb08cb89..ef00e8fd 100644 --- a/src/jneqsim-stubs/process/controllerdevice/__init__.pyi +++ b/src/jneqsim-stubs/process/controllerdevice/__init__.pyi @@ -18,6 +18,7 @@ import jneqsim.process.equipment.iec81346 import jneqsim.process.equipment.valve import jneqsim.process.measurementdevice import jneqsim.util +import jneqsim.util.agentic import typing @@ -141,6 +142,45 @@ class ControllerPerformanceMetrics(java.io.Serializable): def getSettlingTolerance(self) -> float: ... def toString(self) -> java.lang.String: ... +class ControlsBenchmarkSuite: + @staticmethod + def runCanonicalSuite() -> 'ControlsBenchmarkSuite.Report': ... + class CaseResult(java.io.Serializable): + def getAcceptanceDetail(self) -> java.lang.String: ... + def getAgentMetric(self) -> float: ... + def getChallengeType(self) -> 'ControlsBenchmarkSuite.ChallengeType': ... + def getControllerOutput(self) -> typing.MutableSequence[float]: ... + def getFinalRelativeErrorPercent(self) -> float: ... + def getId(self) -> java.lang.String: ... + def getMaximumProcessValue(self) -> float: ... + def getMetrics(self) -> ControllerPerformanceMetrics: ... + def getMinimumProcessValue(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getOvershootPercent(self) -> float: ... + def getProcessValue(self) -> typing.MutableSequence[float]: ... + def getSetPoint(self) -> typing.MutableSequence[float]: ... + def getTimeSeconds(self) -> typing.MutableSequence[float]: ... + def isPassed(self) -> bool: ... + class ChallengeType(java.lang.Enum['ControlsBenchmarkSuite.ChallengeType']): + SET_POINT: typing.ClassVar['ControlsBenchmarkSuite.ChallengeType'] = ... + DISTURBANCE: typing.ClassVar['ControlsBenchmarkSuite.ChallengeType'] = ... + SET_POINT_AND_DISTURBANCE: typing.ClassVar['ControlsBenchmarkSuite.ChallengeType'] = ... + PROTECTION: typing.ClassVar['ControlsBenchmarkSuite.ChallengeType'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ControlsBenchmarkSuite.ChallengeType': ... + @staticmethod + def values() -> typing.MutableSequence['ControlsBenchmarkSuite.ChallengeType']: ... + class Report(java.io.Serializable): + def getAgentBenchmarkReport(self) -> jneqsim.util.agentic.AgentBenchmarkSuite.BenchmarkReport: ... + def getCase(self, string: typing.Union[java.lang.String, str]) -> 'ControlsBenchmarkSuite.CaseResult': ... + def getCases(self) -> java.util.List['ControlsBenchmarkSuite.CaseResult']: ... + def isPassed(self) -> bool: ... + class SequentialFunctionChart(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def addStep(self, sfcStep: 'SequentialFunctionChart.SfcStep') -> None: ... @@ -329,6 +369,7 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addLinearMoveConstraint(self, linearMoveConstraint: 'ModelPredictiveController.LinearMoveConstraint') -> None: ... def addQualityConstraint(self, qualityConstraint: 'ModelPredictiveController.QualityConstraint') -> None: ... @typing.overload def autoTune(self, double: float, double2: float) -> None: ... @@ -341,6 +382,7 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def autoTune(self, autoTuneConfiguration: 'ModelPredictiveController.AutoTuneConfiguration') -> 'ModelPredictiveController.AutoTuneResult': ... def captureTransientState(self) -> 'ModelPredictiveController.MpcTransientState': ... + def clearLinearMoveConstraints(self) -> None: ... def clearMovingHorizonHistory(self) -> None: ... def clearQualityConstraints(self) -> None: ... def configureControls(self, *string: typing.Union[java.lang.String, str]) -> None: ... @@ -427,6 +469,7 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt 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 synchronizeAppliedControlValues(self, *double: 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: ... @@ -467,6 +510,12 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt def getSampleTime(self) -> float: ... def getTimeConstant(self) -> float: ... def isApplied(self) -> bool: ... + class LinearMoveConstraint(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, double3: float): ... + def getCoefficients(self) -> typing.MutableSequence[float]: ... + def getMaxDelta(self) -> float: ... + def getMinDelta(self) -> float: ... + def getName(self) -> java.lang.String: ... class MovingHorizonEstimate(java.io.Serializable): def getMeanSquaredError(self) -> float: ... def getProcessBias(self) -> float: ... @@ -600,6 +649,7 @@ class __module_protocol__(Protocol): ControllerDeviceInterface: typing.Type[ControllerDeviceInterface] ControllerEvent: typing.Type[ControllerEvent] ControllerPerformanceMetrics: typing.Type[ControllerPerformanceMetrics] + ControlsBenchmarkSuite: typing.Type[ControlsBenchmarkSuite] LogicBlock: typing.Type[LogicBlock] ModelPredictiveController: typing.Type[ModelPredictiveController] SequentialFunctionChart: typing.Type[SequentialFunctionChart] diff --git a/src/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi b/src/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi index f9a97735..d73f11ad 100644 --- a/src/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi +++ b/src/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi @@ -35,6 +35,22 @@ class FeedForwardControllerStructure(ControlStructureInterface): def setActive(self, boolean: bool) -> None: ... def setFeedForwardGain(self, double: float) -> None: ... +class MinimumSpeedRecycleControllerStructure(ControlStructureInterface): + def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, controllerDeviceInterface2: jneqsim.process.controllerdevice.ControllerDeviceInterface, controllerDeviceInterface3: jneqsim.process.controllerdevice.ControllerDeviceInterface, double: float, double2: float, double3: float, double4: float): ... + def getEffectivePressureControllerOutput(self) -> float: ... + def getLatchedRecycleOutput(self) -> float: ... + def getMinimumPressureControllerOutput(self) -> float: ... + def getOutput(self) -> float: ... + def getRecycleAddition(self) -> float: ... + def getSpeedOutput(self) -> float: ... + def isActive(self) -> bool: ... + def isPressureRecycleDemandSelected(self) -> bool: ... + def isRecycleControlActive(self) -> bool: ... + def runTransient(self, double: float) -> None: ... + def setActive(self, boolean: bool) -> None: ... + def setOutputGuardBand(self, double: float) -> None: ... + def update(self, double: float, double2: float, double3: float) -> None: ... + class OverrideControllerStructure(ControlStructureInterface): def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, controllerDeviceInterface2: jneqsim.process.controllerdevice.ControllerDeviceInterface, selectionType: 'OverrideControllerStructure.SelectionType'): ... def getOutput(self) -> float: ... @@ -85,6 +101,7 @@ class __module_protocol__(Protocol): CascadeControllerStructure: typing.Type[CascadeControllerStructure] ControlStructureInterface: typing.Type[ControlStructureInterface] FeedForwardControllerStructure: typing.Type[FeedForwardControllerStructure] + MinimumSpeedRecycleControllerStructure: typing.Type[MinimumSpeedRecycleControllerStructure] OverrideControllerStructure: typing.Type[OverrideControllerStructure] RatioControllerStructure: typing.Type[RatioControllerStructure] SplitRangeControllerStructure: typing.Type[SplitRangeControllerStructure] diff --git a/src/jneqsim-stubs/process/dynamics/__init__.pyi b/src/jneqsim-stubs/process/dynamics/__init__.pyi index 563ba219..184fae99 100644 --- a/src/jneqsim-stubs/process/dynamics/__init__.pyi +++ b/src/jneqsim-stubs/process/dynamics/__init__.pyi @@ -76,6 +76,7 @@ class DynamicCapabilityReport(java.io.Serializable): def getStrictPreflightIssues(self) -> java.util.List[java.lang.String]: ... def getUnverifiedActivationElements(self) -> java.util.List[java.lang.String]: ... def hasBlockingIssues(self) -> bool: ... + def isFullyAudited(self) -> bool: ... def isStrictPreflightReady(self) -> bool: ... def toJson(self) -> java.lang.String: ... class Entry(java.io.Serializable): diff --git a/src/jneqsim-stubs/process/engineering/model/__init__.pyi b/src/jneqsim-stubs/process/engineering/model/__init__.pyi index adb6a4c4..6a0d0b0f 100644 --- a/src/jneqsim-stubs/process/engineering/model/__init__.pyi +++ b/src/jneqsim-stubs/process/engineering/model/__init__.pyi @@ -816,6 +816,113 @@ class EngineeringGraphDiff(java.io.Serializable): def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... +class EngineeringGraphicalProjection(java.io.Serializable): + SCHEMA_VERSION: 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], verificationStatus: 'EngineeringGraphicalProjection.VerificationStatus', list: java.util.List['EngineeringGraphicalProjection.Primitive'], list2: java.util.List['EngineeringGraphicalProjection.Diagnostic']): ... + @staticmethod + def fromJson(string: typing.Union[java.lang.String, str]) -> 'EngineeringGraphicalProjection': ... + def getDiagnostics(self) -> java.util.List['EngineeringGraphicalProjection.Diagnostic']: ... + def getPrimitives(self) -> java.util.List['EngineeringGraphicalProjection.Primitive']: ... + def getProjectId(self) -> java.lang.String: ... + def getRevision(self) -> java.lang.String: ... + def getSourceGraphFingerprint(self) -> java.lang.String: ... + def getSourceReference(self) -> java.lang.String: ... + def getUnit(self) -> 'EngineeringGraphicalProjection.Unit': ... + def getVerificationStatus(self) -> 'EngineeringGraphicalProjection.VerificationStatus': ... + def isComplete(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Diagnostic(java.io.Serializable): + def __init__(self, severity: 'EngineeringGraphicalProjection.Severity', 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 getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'EngineeringGraphicalProjection.Severity': ... + def getSubjectId(self) -> java.lang.String: ... + class Point(java.io.Serializable): + def __init__(self, double: float, double2: float): ... + def getX(self) -> float: ... + def getY(self) -> float: ... + class Primitive(java.io.Serializable): + def getDashPattern(self) -> java.lang.String: ... + def getFillColor(self) -> java.lang.String: ... + def getHeight(self) -> float: ... + def getId(self) -> java.lang.String: ... + def getPoints(self) -> java.util.List['EngineeringGraphicalProjection.Point']: ... + def getRepresentedExternalKey(self) -> java.lang.String: ... + def getRepresentedObjectId(self) -> java.lang.String: ... + def getSize(self) -> float: ... + def getStrokeColor(self) -> java.lang.String: ... + def getStrokeWidth(self) -> float: ... + def getText(self) -> java.lang.String: ... + def getTextAnchor(self) -> java.lang.String: ... + def getType(self) -> 'EngineeringGraphicalProjection.PrimitiveType': ... + def getWidth(self) -> float: ... + def getX(self) -> float: ... + def getY(self) -> float: ... + def isProtectedGeometry(self) -> bool: ... + @staticmethod + def polygon(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['EngineeringGraphicalProjection.Point'], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], double: float) -> 'EngineeringGraphicalProjection.Primitive': ... + @staticmethod + def polyline(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['EngineeringGraphicalProjection.Point'], string4: typing.Union[java.lang.String, str], double: float, string5: typing.Union[java.lang.String, str], boolean: bool) -> 'EngineeringGraphicalProjection.Primitive': ... + @staticmethod + def rectangle(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], double5: float) -> 'EngineeringGraphicalProjection.Primitive': ... + @staticmethod + def text(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], string6: typing.Union[java.lang.String, str]) -> 'EngineeringGraphicalProjection.Primitive': ... + class PrimitiveType(java.lang.Enum['EngineeringGraphicalProjection.PrimitiveType']): + RECTANGLE: typing.ClassVar['EngineeringGraphicalProjection.PrimitiveType'] = ... + POLYLINE: typing.ClassVar['EngineeringGraphicalProjection.PrimitiveType'] = ... + POLYGON: typing.ClassVar['EngineeringGraphicalProjection.PrimitiveType'] = ... + TEXT: typing.ClassVar['EngineeringGraphicalProjection.PrimitiveType'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EngineeringGraphicalProjection.PrimitiveType': ... + @staticmethod + def values() -> typing.MutableSequence['EngineeringGraphicalProjection.PrimitiveType']: ... + class Severity(java.lang.Enum['EngineeringGraphicalProjection.Severity']): + INFO: typing.ClassVar['EngineeringGraphicalProjection.Severity'] = ... + WARNING: typing.ClassVar['EngineeringGraphicalProjection.Severity'] = ... + ERROR: typing.ClassVar['EngineeringGraphicalProjection.Severity'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EngineeringGraphicalProjection.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['EngineeringGraphicalProjection.Severity']: ... + class Unit(java.lang.Enum['EngineeringGraphicalProjection.Unit']): + MILLIMETRE: typing.ClassVar['EngineeringGraphicalProjection.Unit'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EngineeringGraphicalProjection.Unit': ... + @staticmethod + def values() -> typing.MutableSequence['EngineeringGraphicalProjection.Unit']: ... + class VerificationStatus(java.lang.Enum['EngineeringGraphicalProjection.VerificationStatus']): + PROPOSAL: typing.ClassVar['EngineeringGraphicalProjection.VerificationStatus'] = ... + REVIEWED: typing.ClassVar['EngineeringGraphicalProjection.VerificationStatus'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EngineeringGraphicalProjection.VerificationStatus': ... + @staticmethod + def values() -> typing.MutableSequence['EngineeringGraphicalProjection.VerificationStatus']: ... + +class EngineeringGraphicalProjectionBuilder: + @staticmethod + def build(engineeringGraph: EngineeringGraph, engineeringDiagramConventionRegister: EngineeringDiagramConventionRegister, string: typing.Union[java.lang.String, str], verificationStatus: EngineeringGraphicalProjection.VerificationStatus) -> EngineeringGraphicalProjection: ... + class EngineeringIds: @staticmethod def canonical(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... @@ -969,6 +1076,8 @@ class __module_protocol__(Protocol): EngineeringGraph: typing.Type[EngineeringGraph] EngineeringGraphBuilder: typing.Type[EngineeringGraphBuilder] EngineeringGraphDiff: typing.Type[EngineeringGraphDiff] + EngineeringGraphicalProjection: typing.Type[EngineeringGraphicalProjection] + EngineeringGraphicalProjectionBuilder: typing.Type[EngineeringGraphicalProjectionBuilder] EngineeringIds: typing.Type[EngineeringIds] EngineeringNode: typing.Type[EngineeringNode] EngineeringProvenance: typing.Type[EngineeringProvenance] diff --git a/src/jneqsim-stubs/process/equipment/__init__.pyi b/src/jneqsim-stubs/process/equipment/__init__.pyi index 5a3eecfc..465d214c 100644 --- a/src/jneqsim-stubs/process/equipment/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/__init__.pyi @@ -170,6 +170,12 @@ class EquipmentFactory: 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: ... + @staticmethod + def getConstructibleEquipmentTypes() -> java.util.List[java.lang.String]: ... + @staticmethod + def getSupportedEquipmentTypes() -> java.util.List[java.lang.String]: ... + @staticmethod + def supportsEquipmentType(string: typing.Union[java.lang.String, str]) -> bool: ... class ProcessEquipmentInterface(jneqsim.process.ProcessElementInterface, jneqsim.process.SimulationInterface): def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... diff --git a/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi b/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi index 142febe2..023b13f8 100644 --- a/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi @@ -28,11 +28,19 @@ class AbsorptionColumn(jneqsim.process.equipment.distillation.DistillationColumn def clearComponentMurphreeEfficiencies(self) -> None: ... def getComponentMurphreeEfficiency(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... def getGasInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGasLoadFactor(self) -> float: ... + def getGasLoadFactorUtilization(self) -> float: ... + def getGasSuperficialVelocity(self) -> float: ... + def getMaxAllowableGasLoadFactor(self) -> float: ... + def getMinimumDiameterForGasLoadLimit(self) -> float: ... def getSolventInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getWettingRate(self) -> float: ... + def isGasLoadFactorWithinDesignLimit(self) -> bool: ... @typing.overload def setComponentMurphreeEfficiency(self, int: int, string: typing.Union[java.lang.String, str], double: float) -> None: ... @typing.overload def setComponentMurphreeEfficiency(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setMaxAllowableGasLoadFactor(self, double: float) -> None: ... class H2SScavenger(jneqsim.process.equipment.TwoPortEquipment): @typing.overload diff --git a/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi b/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi index a08276ea..95d482fa 100644 --- a/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi @@ -19,6 +19,7 @@ import jneqsim.process.equipment.heatexchanger import jneqsim.process.equipment.mixer import jneqsim.process.equipment.powergeneration import jneqsim.process.equipment.separator +import jneqsim.process.equipment.splitter import jneqsim.process.equipment.stream import jneqsim.process.equipment.util import jneqsim.process.equipment.valve @@ -1784,6 +1785,21 @@ class ReciprocatingCompressorPerformance(java.io.Serializable): def toJson(self) -> java.lang.String: ... def validateSetup(self) -> None: ... +class RecycleFlowCoordinator(jneqsim.process.equipment.ProcessEquipmentBaseClass): + def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, splitter: jneqsim.process.equipment.splitter.Splitter, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve): ... + def getLastMainFlow(self) -> float: ... + def getLastRecycleFlow(self) -> float: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setMaximumRecycleFraction(self, double: float) -> None: ... + def setRecycleSeedFlow(self, double: float) -> None: ... + class ShutdownProfile(java.io.Serializable): @typing.overload def __init__(self): ... @@ -2101,6 +2117,7 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def getThermalModel(self) -> CompressorThermalModel: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getTotalWork(self) -> float: ... + def getTransientCalculationMode(self) -> 'Compressor.TransientCalculationMode': ... def initElectricalDesign(self) -> None: ... def initInstrumentDesign(self) -> None: ... def initMechanicalDesign(self) -> None: ... @@ -2113,6 +2130,7 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def isCalcPressureOut(self) -> bool: ... def isCapacityExceeded(self) -> bool: ... def isChartExtrapolated(self) -> bool: ... + def isControllerSpeedRateLimitEnabled(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... @typing.overload def isHigherThanMaxSpeed(self) -> bool: ... @@ -2173,6 +2191,7 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def setCompressionRatio(self, double: float) -> None: ... def setCompressorChart(self, compressorChartInterface: CompressorChartInterface) -> None: ... def setCompressorChartType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setControllerSpeedRateLimitEnabled(self, boolean: bool) -> None: ... def setCurveTemplate(self, string: typing.Union[java.lang.String, str]) -> None: ... def setDegradationFactor(self, double: float) -> None: ... def setDepositModel(self, compressorDeposit: CompressorDeposit) -> None: ... @@ -2241,6 +2260,7 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def setSurgeWarningThreshold(self, double: float) -> None: ... def setTargetSpeed(self, double: float) -> None: ... def setThermalModel(self, compressorThermalModel: CompressorThermalModel) -> None: ... + def setTransientCalculationMode(self, transientCalculationMode: 'Compressor.TransientCalculationMode') -> None: ... def setUseEnergyEfficiencyChart(self, boolean: bool) -> None: ... def setUseGERG2008(self, boolean: bool) -> None: ... def setUseLeachman(self, boolean: bool) -> None: ... @@ -2294,6 +2314,18 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def useLeachman(self) -> 'Compressor.Builder': ... def useRigorousPolytropicMethod(self) -> 'Compressor.Builder': ... def useVega(self) -> 'Compressor.Builder': ... + class TransientCalculationMode(java.lang.Enum['Compressor.TransientCalculationMode']): + MAP_FLOW_SOLVER: typing.ClassVar['Compressor.TransientCalculationMode'] = ... + QUASI_STEADY: typing.ClassVar['Compressor.TransientCalculationMode'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Compressor.TransientCalculationMode': ... + @staticmethod + def values() -> typing.MutableSequence['Compressor.TransientCalculationMode']: ... class CompressorChart(CompressorChartInterface, java.io.Serializable): def __init__(self): ... @@ -2656,6 +2688,7 @@ class __module_protocol__(Protocol): InletGuideVaneModel: typing.Type[InletGuideVaneModel] OperatingEnvelope: typing.Type[OperatingEnvelope] ReciprocatingCompressorPerformance: typing.Type[ReciprocatingCompressorPerformance] + RecycleFlowCoordinator: typing.Type[RecycleFlowCoordinator] SafeSplineStoneWallCurve: typing.Type[SafeSplineStoneWallCurve] SafeSplineSurgeCurve: typing.Type[SafeSplineSurgeCurve] ShutdownProfile: typing.Type[ShutdownProfile] diff --git a/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi b/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi index 79c603b3..e15da496 100644 --- a/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi @@ -313,6 +313,8 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getInnerLoopSteps(self) -> int: ... def getInternalDiameter(self) -> float: ... + def getLastAcceleratedFullTraySweepCount(self) -> int: ... + def getLastAcceleratedInternalStreamTransferCount(self) -> int: ... def getLastAppliedTemperatureStepResidual(self) -> float: ... def getLastAutoFeasibilityReport(self) -> java.lang.String: ... def getLastAutoSolverHistory(self) -> java.util.List[java.lang.String]: ... @@ -359,6 +361,9 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def getLastNaphtaliThermoKValueIterationCount(self) -> int: ... def getLastNaphtaliThermoKValueNonConvergedCount(self) -> int: ... def getLastNaphtaliThermoMaxLogKValueUpdate(self) -> float: ... + def getLastNewtonLineSearchResidual(self) -> float: ... + def getLastNewtonLineSearchStepLength(self) -> float: ... + def getLastNewtonLineSearchTrialCount(self) -> int: ... def getLastPumparoundRelativeChange(self) -> float: ... def getLastShortcutInitializationResult(self) -> 'DistillationColumn.ShortcutInitializationResult': ... def getLastSolveStatus(self) -> 'DistillationColumn.SolveStatus': ... @@ -735,6 +740,7 @@ class PackedColumn(DistillationColumn): def getHETP(self) -> float: ... def getHydraulics(self) -> jneqsim.process.equipment.distillation.internals.PackingHydraulicsCalculator: ... def getPackedHeight(self) -> float: ... + def getPackingHydraulicCapacityFactor(self) -> float: ... @typing.overload def getPackingPressureDrop(self) -> float: ... @typing.overload @@ -751,6 +757,7 @@ class PackedColumn(DistillationColumn): def setColumnDiameter(self, double: float) -> None: ... def setDesignFloodFraction(self, double: float) -> None: ... def setPackedHeight(self, double: float) -> None: ... + def setPackingHydraulicCapacityFactor(self, double: float) -> None: ... def setPackingType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setStructuredPacking(self, boolean: bool) -> None: ... @typing.overload diff --git a/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi b/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi index 9f4abcb0..4c0722c1 100644 --- a/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi @@ -37,12 +37,53 @@ class ColumnInternalsDesigner(java.io.Serializable): def setHoleDiameter(self, double: float) -> None: ... def setInternalsType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPackedHeight(self, double: float) -> None: ... + def setPackingHydraulicCapacityFactor(self, double: float) -> None: ... def setPackingPreset(self, string: typing.Union[java.lang.String, str]) -> None: ... def setStructuredPacking(self, boolean: bool) -> None: ... def setTraySpacing(self, double: float) -> None: ... def setWeirHeight(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... +class GravityDrainageMargin(java.io.Serializable): + STANDARD_GRAVITY: typing.ClassVar[float] = ... + def __init__(self, double: float, double2: float, double3: float): ... + def canDrain(self) -> bool: ... + @staticmethod + def criticalPressureDrop(double: float, double2: float) -> float: ... + @staticmethod + def criticalStaticHead(double: float, double2: float) -> float: ... + def getAvailableHeadPressure(self) -> float: ... + def getAvailableStaticHead(self) -> float: ... + def getGasPressureDrop(self) -> float: ... + def getHeadUtilisation(self) -> float: ... + def getLiquidDensity(self) -> float: ... + def getMarginPressure(self) -> float: ... + def getMarginRatio(self) -> float: ... + def getMaximumAllowableGasPressureDrop(self) -> float: ... + def getRequiredStaticHead(self) -> float: ... + def toString(self) -> java.lang.String: ... + +class PackingFoulingModel(java.io.Serializable): + @staticmethod + def fromDepositThickness(double: float, double2: float, double3: float, double4: float) -> 'PackingFoulingModel': ... + @staticmethod + def fromVoidLossFraction(double: float, double2: float, double3: float, double4: float) -> 'PackingFoulingModel': ... + def getCleanHydraulicDiameter(self) -> float: ... + def getCleanPackingFactor(self) -> float: ... + def getCleanSpecificSurfaceArea(self) -> float: ... + def getCleanVoidFraction(self) -> float: ... + def getDepositThickness(self) -> float: ... + def getFloodingVelocityRatio(self) -> float: ... + def getFouledHydraulicDiameter(self) -> float: ... + def getFouledPackingFactor(self) -> float: ... + def getFouledSpecificSurfaceArea(self) -> float: ... + def getFouledVoidFraction(self) -> float: ... + def getPressureDropRatio(self) -> float: ... + def getVoidLossFraction(self) -> float: ... + def toString(self) -> java.lang.String: ... + @staticmethod + def voidLossFractionForPressureDropRatio(double: float) -> float: ... + class PackingHydraulicsCalculator(java.io.Serializable): def __init__(self): ... def calculate(self) -> None: ... @@ -54,6 +95,7 @@ class PackingHydraulicsCalculator(java.io.Serializable): def getHtuG(self) -> float: ... def getHtuL(self) -> float: ... def getHtuOG(self) -> float: ... + def getHydraulicCapacityFactor(self) -> float: ... def getKGa(self) -> float: ... def getKLa(self) -> float: ... def getNumberOfTheoreticalStages(self) -> float: ... @@ -72,6 +114,7 @@ class PackingHydraulicsCalculator(java.io.Serializable): def setColumnDiameter(self, double: float) -> None: ... def setCriticalSurfaceTension(self, double: float) -> None: ... def setDesignFloodFraction(self, double: float) -> None: ... + def setHydraulicCapacityFactor(self, double: float) -> None: ... def setLiquidDensity(self, double: float) -> None: ... def setLiquidDiffusivity(self, double: float) -> None: ... def setLiquidMassFlow(self, double: float) -> None: ... @@ -178,6 +221,8 @@ class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.distillation.internals")``. ColumnInternalsDesigner: typing.Type[ColumnInternalsDesigner] + GravityDrainageMargin: typing.Type[GravityDrainageMargin] + PackingFoulingModel: typing.Type[PackingFoulingModel] PackingHydraulicsCalculator: typing.Type[PackingHydraulicsCalculator] PackingSpecification: typing.Type[PackingSpecification] PackingSpecificationLibrary: typing.Type[PackingSpecificationLibrary] diff --git a/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi b/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi index 3db8c717..42d28951 100644 --- a/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi @@ -356,9 +356,19 @@ class Cooler(Heater): 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 configureDynamicTemperatureControl(self, double: float, double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str]) -> None: ... + def getCoolingValveOpening(self) -> float: ... def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... def initMechanicalDesign(self) -> None: ... + def isDynamicTemperatureControlEnabled(self) -> bool: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def setCoolingValveOpening(self, double: float) -> None: ... + def setDynamicDesignValveOpening(self, double: float) -> None: ... + def setDynamicTimeConstants(self, double: float, double2: float) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload diff --git a/src/jneqsim-stubs/process/equipment/mixer/__init__.pyi b/src/jneqsim-stubs/process/equipment/mixer/__init__.pyi index 6cee33cd..1a6a0179 100644 --- a/src/jneqsim-stubs/process/equipment/mixer/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/mixer/__init__.pyi @@ -32,6 +32,7 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface, def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... def calcMixStreamEnthalpy(self) -> float: ... def clearCapacityConstraints(self) -> None: ... + def clearOutletPressureSpecification(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]: ... @@ -51,6 +52,10 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface, def getMixedSalinity(self) -> float: ... def getNumberOfInputStreams(self) -> int: ... def getOutTemperature(self) -> float: ... + @typing.overload + 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]: ... @typing.overload @@ -61,6 +66,7 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface, def getStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def guessTemperature(self) -> float: ... + def hasOutletPressureSpecification(self) -> bool: ... def initMechanicalDesign(self) -> None: ... def isCapacityAnalysisEnabled(self) -> bool: ... def isCapacityExceeded(self) -> bool: ... @@ -80,11 +86,19 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface, def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... def setDesignPressureDrop(self, double: float) -> None: ... def setMaxDesignVelocity(self, double: float) -> None: ... def setMultiPhaseCheck(self, boolean: bool) -> None: ... 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 setOutletTemperature(self, double: float) -> None: ... def setPressure(self, double: float) -> None: ... def setPressureMismatchTolerance(self, double: float) -> None: ... diff --git a/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi index 98032001..7b0a304e 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi @@ -22,8 +22,6 @@ import jneqsim.process.equipment.capacity import jneqsim.process.equipment.pipeline.evaporation import jneqsim.process.equipment.pipeline.routing import jneqsim.process.equipment.pipeline.twophasepipe -import jneqsim.process.equipment.pipeline.twophasepipe.closure -import jneqsim.process.equipment.pipeline.twophasepipe.numerics import jneqsim.process.equipment.stream import jneqsim.process.instrumentdesign.pipeline import jneqsim.process.mechanicaldesign.pipeline @@ -1445,342 +1443,6 @@ class TubingPerformance(Pipeline): @staticmethod 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 addLocalLoss(self, double: float, double2: float) -> None: ... - 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: ... - @typing.overload - def evaluateSevereSluggingSystem(self, int: int) -> jneqsim.process.equipment.pipeline.twophasepipe.SevereSluggingSystemDiagnostic.Result: ... - @typing.overload - def evaluateSevereSluggingSystem(self, int: int, double: float, double2: float) -> jneqsim.process.equipment.pipeline.twophasepipe.SevereSluggingSystemDiagnostic.Result: ... - def generateRefinedMesh(self, int: int, double: float) -> None: ... - def getAccumulationTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.LiquidAccumulationTracker: ... - def getAdaptiveDtFactor(self) -> float: ... - def getAverageLiquidHoldup(self) -> float: ... - def getAverageMixtureDensity(self) -> float: ... - def getAverageSuperficialGasVelocity(self) -> float: ... - def getAverageSuperficialLiquidVelocity(self) -> float: ... - def getBubbleSizeClosure(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.BubbleSizeClosure: ... - def getBubbleSurfaceTension(self) -> float: ... - def getComponentConservationHistory(self) -> TwoFluidComponentConservationHistory: ... - def getComponentConservationTolerance(self) -> float: ... - def getComponentMassFractionProfile(self, phase: TwoFluidComponentConservationReport.Phase, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getCoupledPressureMomentumIterations(self) -> int: ... - def getCoupledPressureMomentumVolumeResidual(self) -> float: ... - def getDiameter(self) -> float: ... - def getDirectElectricalHeatingPower(self) -> float: ... - def getDirectElectricalHeatingPowerPerMeter(self) -> float: ... - def getDistanceToHydrateRisk(self) -> float: ... - def getDominantFlowRegime(self) -> java.lang.String: ... - def getEntrainedDropletDiameterProfile(self) -> typing.MutableSequence[float]: ... - def getEntrainmentFractionProfile(self) -> typing.MutableSequence[float]: ... - def getEquivalentLengthFittings(self) -> float: ... - def getErosionRiskAssessment(self, double: float) -> java.lang.String: ... - @typing.overload - def getErosionalVelocity(self) -> float: ... - @typing.overload - def getErosionalVelocity(self, double: float) -> float: ... - def getErosionalVelocityMargin(self, double: float) -> float: ... - 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 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 getInclinedSectionGasCarryoverNumberProfile(self) -> typing.MutableSequence[float]: ... - def getInclinedSectionLiquidFallbackPotentialProfile(self) -> typing.MutableSequence[bool]: ... - def getInletBoundaryCondition(self) -> 'TwoFluidPipe.BoundaryCondition': ... - def getInletPressure(self) -> float: ... - def getInsulationType(self) -> java.lang.String: ... - def getInsulationTypeEnum(self) -> 'TwoFluidPipe.InsulationType': ... - def getInterfacialPressureCoefficient(self) -> float: ... - def getLagrangianSlugTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.LagrangianSlugTracker: ... - def getLastComponentConservationReport(self) -> TwoFluidComponentConservationReport: ... - def getLastMassBalanceReport(self) -> TwoFluidMassBalanceReport: ... - def getLastSlugArrivalTime(self) -> float: ... - def getLastThermalEnergyBalanceReport(self) -> TwoFluidThermalEnergyBalanceReport: ... - 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 getLiquidVelocityProfile(self) -> typing.MutableSequence[float]: ... - def getLocalLossKFactor(self, double: float) -> float: ... - def getLocalLossSummary(self) -> java.lang.String: ... - def getMaxMixtureVelocity(self) -> float: ... - def getMaxSimulationTime(self) -> float: ... - def getMaxSlugLengthAtOutlet(self) -> float: ... - def getMaxSlugVolumeAtOutlet(self) -> float: ... - def getMaximumBubbleDiameterFraction(self) -> float: ... - def getMinimumFilmThickness(self) -> float: ... - def getMinimumLiquidHoldup(self) -> float: ... - def getMinimumSlipFactor(self) -> float: ... - def getNumberOfSections(self) -> int: ... - def getOLGAModelType(self) -> 'TwoFluidPipe.OLGAModelType': ... - def getOilHoldupProfile(self) -> typing.MutableSequence[float]: ... - def getOilMassFlowProfile(self) -> typing.MutableSequence[float]: ... - def getOilVelocityProfile(self) -> typing.MutableSequence[float]: ... - def getOilWaterFlowRegimeProfile(self) -> typing.MutableSequence[jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector.OilWaterFlowRegime]: ... - def getOilWaterSlipProfile(self) -> typing.MutableSequence[float]: ... - def getOutletBoundaryCondition(self) -> 'TwoFluidPipe.BoundaryCondition': ... - def getOutletComponentMassFraction(self, phase: TwoFluidComponentConservationReport.Phase, string: typing.Union[java.lang.String, str]) -> float: ... - @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... - @typing.overload - def getOutletPressure(self) -> float: ... - def getOutletSlugCount(self) -> int: ... - def getPositionProfile(self) -> typing.MutableSequence[float]: ... - def getPressureProfile(self) -> typing.MutableSequence[float]: ... - def getRoughness(self) -> float: ... - def getSectionLengths(self) -> typing.MutableSequence[float]: ... - def getSevereSlugPotentialProfile(self) -> typing.MutableSequence[bool]: ... - def getSevereSluggingNumberProfile(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 getSlugTrackingStatisticsJson(self) -> java.lang.String: ... - def getSoilThermalResistance(self) -> float: ... - def getStagnantInnerHeatTransferCoefficient(self) -> float: ... - def getSteadyStateIterationsUsed(self) -> int: ... - def getSteadyStateMaxIterations(self) -> int: ... - def getSurfaceTemperature(self) -> float: ... - def getSurfaceTemperatureProfile(self) -> typing.MutableSequence[float]: ... - @typing.overload - def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... - @typing.overload - 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 getTotalLocalLossKFactors(self) -> float: ... - def getTotalMassInventory(self) -> float: ... - def getTotalPressureDrop(self) -> float: ... - def getTotalSlugVolumeAtOutlet(self) -> float: ... - def getUpstreamCompressibleVolume(self) -> UpstreamCompressibleVolume: ... - def getWallTemperatureProfile(self) -> typing.MutableSequence[float]: ... - def getWallThickness(self) -> float: ... - def getWaterCutProfile(self) -> typing.MutableSequence[float]: ... - def getWaterDropoutRiskProfile(self) -> typing.MutableSequence[bool]: ... - def getWaterHoldupProfile(self) -> typing.MutableSequence[float]: ... - def getWaterMassFlowProfile(self) -> typing.MutableSequence[float]: ... - def getWaterVelocityProfile(self) -> typing.MutableSequence[float]: ... - def getWaterWettingProfile(self) -> typing.MutableSequence[bool]: ... - def getWaxAppearanceTemperature(self) -> float: ... - def getWaxRiskSections(self) -> typing.MutableSequence[bool]: ... - def hasHydrateRisk(self) -> bool: ... - def hasWaxRisk(self) -> bool: ... - def initializeUpstreamCompressibleVolume(self, double: float) -> UpstreamCompressibleVolume: ... - def isAdaptiveTimesteppingEnabled(self) -> bool: ... - def isComponentConservationHistoryStorageEnabled(self) -> bool: ... - def isComponentTransportEnabled(self) -> bool: ... - def isCoupledPressureMomentumConverged(self) -> bool: ... - def isCoupledPressureMomentumEnabled(self) -> bool: ... - def isEnableAnnularFilmModel(self) -> bool: ... - def isEnableSevereSlugModel(self) -> bool: ... - def isEnableTerrainSlugClosures(self) -> bool: ... - def isEnableTerrainTracking(self) -> bool: ... - def isEnforceMinimumSlip(self) -> bool: ... - def isHeatTransferEnabled(self) -> bool: ... - def isImplicitInterfacialPressureCoupling(self) -> bool: ... - def isInletClosed(self) -> bool: ... - def isInterfacialPressureEnabled(self) -> bool: ... - def isJouleThomsonEnabled(self) -> bool: ... - def isOutletClosed(self) -> bool: ... - def isOutletPhaseBackflowAllowed(self) -> bool: ... - def isSeparatedFrictionModel(self) -> bool: ... - def isSteadyStateConverged(self) -> bool: ... - def isSteadyStatePressureFloorLimited(self) -> bool: ... - def isSteadyStateWallClockLimited(self) -> bool: ... - def isStiffBubbleDragEnabled(self) -> bool: ... - def isTransientOutletBackflowClamped(self) -> bool: ... - def isUseAdaptiveMinimumOnly(self) -> bool: ... - def isUseEquilibriumLevelAnnularTransition(self) -> bool: ... - def isUseLocalBubbleSurfaceTension(self) -> bool: ... - def isUseMultilayerThermalModel(self) -> bool: ... - def isUseOLGAFlowRegimeMap(self) -> bool: ... - @typing.overload - def isVelocityAboveErosionalLimit(self) -> bool: ... - @typing.overload - def isVelocityAboveErosionalLimit(self, double: float) -> bool: ... - def isWaterOilSlipEnabled(self) -> bool: ... - def openInlet(self) -> None: ... - @typing.overload - def openOutlet(self) -> None: ... - @typing.overload - def openOutlet(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def run(self) -> None: ... - @typing.overload - def run(self, uUID: java.util.UUID) -> None: ... - @typing.overload - def runTransient(self, double: float) -> None: ... - @typing.overload - def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setAdaptiveMaxPressure(self, double: float) -> None: ... - def setAllowOutletPhaseBackflow(self, boolean: bool) -> None: ... - def setBubbleSurfaceTension(self, double: float) -> None: ... - def setCflNumber(self, double: float) -> None: ... - def setComponentConservationTolerance(self, double: float) -> None: ... - def setComponentTransportEnabled(self, boolean: bool) -> None: ... - def setDiameter(self, double: float) -> None: ... - def setDirectElectricalHeatingPower(self, double: float) -> None: ... - def setDirectElectricalHeatingPowerPerMeter(self, double: float) -> 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 setEnableCoupledPressureMomentum(self, boolean: bool) -> None: ... - def setEnableInterfacialPressure(self, boolean: bool) -> None: ... - def setEnableJouleThomson(self, boolean: bool) -> None: ... - def setEnableSevereSlugModel(self, boolean: bool) -> None: ... - def setEnableSlugTracking(self, boolean: bool) -> None: ... - def setEnableStiffBubbleDrag(self, boolean: bool) -> None: ... - def setEnableTerrainSlugClosures(self, boolean: bool) -> None: ... - def setEnableTerrainTracking(self, boolean: bool) -> None: ... - def setEnableWaterOilSlip(self, boolean: bool) -> None: ... - def setEnforceMinimumSlip(self, boolean: bool) -> None: ... - 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 setImplicitInterfacialPressureCoupling(self, boolean: bool) -> None: ... - def setIncludeEnergyEquation(self, boolean: bool) -> None: ... - def setIncludeMassTransfer(self, boolean: bool) -> 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: ... - @typing.overload - def setInletPressure(self, double: float) -> None: ... - @typing.overload - 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: ... - @typing.overload - def setInsulationType(self, insulationType: 'TwoFluidPipe.InsulationType') -> None: ... - def setInterfacialPressureCoefficient(self, double: float) -> None: ... - def setLength(self, double: float) -> None: ... - def setLiquidFallbackCoefficient(self, double: float) -> None: ... - def setMassTransferRelaxationTime(self, double: float) -> None: ... - def setMaxSimulationTime(self, double: float) -> None: ... - def setMaximumBubbleDiameterFraction(self, double: float) -> None: ... - def setMinimumFilmThickness(self, double: float) -> None: ... - def setMinimumLiquidHoldup(self, double: float) -> None: ... - def setMinimumSlipFactor(self, double: float) -> None: ... - 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 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 setRoughness(self, double: float) -> None: ... - def setSectionLengths(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setSeparatedFrictionModel(self, boolean: bool) -> None: ... - def setSlugTrackingMode(self, slugTrackingMode: 'TwoFluidPipe.SlugTrackingMode') -> None: ... - def setSoilThermalResistance(self, double: float) -> None: ... - def setStagnantInnerHeatTransferCoefficient(self, double: float) -> None: ... - def setSteadyStateFlashInterval(self, int: int) -> None: ... - def setSteadyStateMaxIterations(self, int: int) -> None: ... - def setSteadyStateMaxWallClockTime(self, double: float) -> None: ... - def setSteadyStateUnderRelaxation(self, double: float) -> None: ... - def setStoreComponentConservationHistory(self, boolean: bool) -> 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 setThermodynamicUpdateInterval(self, int: int) -> None: ... - def setTimeIntegrationMethod(self, method: jneqsim.process.equipment.pipeline.twophasepipe.numerics.TimeIntegrator.Method) -> None: ... - def setUpstreamCompressibleVolume(self, upstreamCompressibleVolume: UpstreamCompressibleVolume) -> None: ... - def setUseAdaptiveMinimumOnly(self, boolean: bool) -> None: ... - def setUseEquilibriumLevelAnnularTransition(self, boolean: bool) -> None: ... - def setUseLocalBubbleSurfaceTension(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) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> '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 getUValue(self) -> 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: ... - @typing.overload - @staticmethod - 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) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> '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) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'TwoFluidPipe.SlugTrackingMode': ... - @staticmethod - def values() -> typing.MutableSequence['TwoFluidPipe.SlugTrackingMode']: ... - class TwoPhasePipeLine(Pipeline): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -2199,7 +1861,6 @@ class __module_protocol__(Protocol): TwoFluidComponentConservationHistory: typing.Type[TwoFluidComponentConservationHistory] TwoFluidComponentConservationReport: typing.Type[TwoFluidComponentConservationReport] TwoFluidMassBalanceReport: typing.Type[TwoFluidMassBalanceReport] - TwoFluidPipe: typing.Type[TwoFluidPipe] TwoFluidThermalEnergyBalanceReport: typing.Type[TwoFluidThermalEnergyBalanceReport] TwoPhasePipeLine: typing.Type[TwoPhasePipeLine] UpstreamCompressibleVolume: typing.Type[UpstreamCompressibleVolume] 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 e89f562b..b3ca7cad 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi @@ -62,6 +62,8 @@ class ConservativeStateLimiter: class CoupledPressureMomentumSolver(java.io.Serializable): def __init__(self): ... def correct(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[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[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], doubleArray8: typing.Union[typing.List[float], jpype.JArray], doubleArray9: typing.Union[typing.List[float], jpype.JArray], doubleArray10: typing.Union[typing.List[float], jpype.JArray], double12: float, boolean: bool) -> 'CoupledPressureMomentumSolver.Result': ... + def getMaximumIterations(self) -> int: ... + def getRelativeVolumeTolerance(self) -> float: ... def setMaximumIterations(self, int: int) -> None: ... def setPressureRelaxation(self, double: float) -> None: ... def setRelativeVolumeTolerance(self, double: float) -> None: ... @@ -136,9 +138,11 @@ class TimeIntegrator(java.io.Serializable): def getCflNumber(self) -> float: ... def getCoupledPressureMomentumGasDensity(self) -> typing.MutableSequence[float]: ... def getCoupledPressureMomentumIterations(self) -> int: ... + def getCoupledPressureMomentumMaximumIterations(self) -> int: ... def getCoupledPressureMomentumOilDensity(self) -> typing.MutableSequence[float]: ... def getCoupledPressureMomentumOutletMassCorrectionKg(self) -> typing.MutableSequence[float]: ... def getCoupledPressureMomentumPressure(self) -> typing.MutableSequence[float]: ... + def getCoupledPressureMomentumRelativeVolumeTolerance(self) -> float: ... def getCoupledPressureMomentumVolumeResidual(self) -> float: ... def getCoupledPressureMomentumWaterDensity(self) -> typing.MutableSequence[float]: ... def getCurrentDt(self) -> float: ... @@ -148,10 +152,13 @@ class TimeIntegrator(java.io.Serializable): def getMinTimeStep(self) -> float: ... def isCoupledPressureMomentumConverged(self) -> bool: ... def isCoupledPressureMomentumEnabled(self) -> bool: ... + def isCoupledPressureMomentumPressureCorrectionLimited(self) -> bool: ... def reset(self) -> None: ... def setCflNumber(self, double: float) -> None: ... def setCoupledPressureMomentumEnabled(self, boolean: bool) -> None: ... + def setCoupledPressureMomentumMaximumIterations(self, int: int) -> None: ... def setCoupledPressureMomentumProperties(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], doubleArray8: typing.Union[typing.List[float], jpype.JArray], doubleArray9: typing.Union[typing.List[float], jpype.JArray], double10: float, boolean: bool, boolean2: bool) -> None: ... + def setCoupledPressureMomentumRelativeVolumeTolerance(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: ... diff --git a/src/jneqsim-stubs/process/equipment/powergeneration/gasturbine/__init__.pyi b/src/jneqsim-stubs/process/equipment/powergeneration/gasturbine/__init__.pyi index b465ee75..c6ff6b9f 100644 --- a/src/jneqsim-stubs/process/equipment/powergeneration/gasturbine/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/powergeneration/gasturbine/__init__.pyi @@ -51,6 +51,7 @@ class GasTurbineDegradation(java.io.Serializable): def getTotalHeatRatePenalty(self) -> float: ... def majorOverhaul(self) -> None: ... def offlineWash(self) -> None: ... + def onlineWash(self, double: float) -> None: ... def setHoursSinceOverhaul(self, double: float) -> None: ... def setHoursSinceWash(self, double: float) -> None: ... def setNonRecoverableRates(self, double: float, double2: float) -> None: ... @@ -161,6 +162,57 @@ class GasTurbineUnit(jneqsim.process.equipment.TwoPortEquipment): def setPerformanceMap(self, gasTurbinePerformanceMap: GasTurbinePerformanceMap) -> None: ... def setSpec(self, gasTurbineSpec: GasTurbineSpec) -> None: ... +class GasTurbineWashPlanner(java.io.Serializable): + def __init__(self): ... + def cleanFuelSm3PerHour(self) -> float: ... + def evaluate(self, double: float) -> 'GasTurbineWashPlanner.WashPlan': ... + def getAnnualOperatingHours(self) -> float: ... + def getBaselineHeatRateKJPerKWh(self) -> float: ... + def getCo2PerSm3Fuel(self) -> float: ... + def getCo2PricePerTonne(self) -> float: ... + def getEfficiencyLossRatePerFiredHour(self) -> float: ... + def getFuelLhvKJPerSm3(self) -> float: ... + def getFuelValuePerSm3(self) -> float: ... + def getMaxEfficiencyLossFraction(self) -> float: ... + def getOutageCostPerHour(self) -> float: ... + def getOutageHoursPerWash(self) -> float: ... + def getRecoveryEffectiveness(self) -> float: ... + def getShaftPowerW(self) -> float: ... + def getWashCostPerEvent(self) -> float: ... + @staticmethod + def lossRateFromCorrectedEfficiencyTrend(double: float, double2: float) -> float: ... + def meanEfficiencyLossFraction(self, double: float) -> float: ... + def optimize(self, double: float, double2: float, double3: float) -> 'GasTurbineWashPlanner.WashPlan': ... + @staticmethod + def paybackYears(double: float, washPlan: 'GasTurbineWashPlanner.WashPlan', washPlan2: 'GasTurbineWashPlanner.WashPlan') -> float: ... + def setAnnualOperatingHours(self, double: float) -> None: ... + def setBaselineHeatRateKJPerKWh(self, double: float) -> None: ... + def setCo2PerSm3Fuel(self, double: float) -> None: ... + def setCo2PricePerTonne(self, double: float) -> None: ... + def setEfficiencyLossRatePerFiredHour(self, double: float) -> None: ... + def setFuelLhvKJPerSm3(self, double: float) -> None: ... + def setFuelValuePerSm3(self, double: float) -> None: ... + def setMaxEfficiencyLossFraction(self, double: float) -> None: ... + def setOutageCostPerHour(self, double: float) -> None: ... + def setOutageHoursPerWash(self, double: float) -> None: ... + def setRecoveryEffectiveness(self, double: float) -> None: ... + def setShaftPowerW(self, double: float) -> None: ... + def setWashCostPerEvent(self, double: float) -> None: ... + class WashPlan(java.io.Serializable): + def getBaseFuelSm3PerYear(self) -> float: ... + def getCo2CostPerYear(self) -> float: ... + def getExtraCo2TonnesPerYear(self) -> float: ... + def getExtraFuelSm3PerYear(self) -> float: ... + def getFiredHoursPerYear(self) -> float: ... + def getFuelCostPerYear(self) -> float: ... + def getMeanEfficiencyLossFraction(self) -> float: ... + def getMeanExtraFuelFraction(self) -> float: ... + def getOutageCostPerYear(self) -> float: ... + def getTotalCostPerYear(self) -> float: ... + def getWashCostPerYear(self) -> float: ... + def getWashIntervalHours(self) -> float: ... + def getWashesPerYear(self) -> float: ... + 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': ... @@ -234,6 +286,7 @@ class __module_protocol__(Protocol): GasTurbinePerformanceMap: typing.Type[GasTurbinePerformanceMap] GasTurbineSpec: typing.Type[GasTurbineSpec] GasTurbineUnit: typing.Type[GasTurbineUnit] + GasTurbineWashPlanner: typing.Type[GasTurbineWashPlanner] LateLifeRetrofitStudy: typing.Type[LateLifeRetrofitStudy] PowerDemandConsumer: typing.Type[PowerDemandConsumer] TurbineDispatchOptimizer: typing.Type[TurbineDispatchOptimizer] diff --git a/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi b/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi index 2fa418ad..31b22045 100644 --- a/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi @@ -9,6 +9,7 @@ import java.io import java.lang import java.util import jpype +import jneqsim.chemicalreactions.chemicalreaction import jneqsim.process.equipment import jneqsim.process.equipment.reactor.digestion import jneqsim.process.equipment.reactor.sulfurrecovery @@ -49,6 +50,135 @@ class AmmoniaSynthesisReactor(jneqsim.process.equipment.TwoPortEquipment): def setPerPassConversion(self, double: float) -> None: ... def setUseEquilibriumConversion(self, boolean: bool) -> None: ... +class AqueousCO2HydrationKinetics(java.io.Serializable): + SOURCE_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + SOURCE_CITATION: typing.ClassVar[java.lang.String] = ... + SOURCE_ACCESS_STATUS: typing.ClassVar[java.lang.String] = ... + PUBLISHED_NACL_MOLALITY: typing.ClassVar[float] = ... + MINIMUM_TEMPERATURE_K: typing.ClassVar[float] = ... + MAXIMUM_TEMPERATURE_K: typing.ClassVar[float] = ... + REPORTED_RATIO_TEMPERATURE_K: typing.ClassVar[float] = ... + REPORTED_CO2_TO_H2CO3_RATIO_AT_25_C: typing.ClassVar[float] = ... + @staticmethod + def advance(double: float, double2: float, double3: float, double4: float) -> 'AqueousCO2HydrationKinetics.Result': ... + @staticmethod + def carbonicAcidToCO2EquilibriumRatio(double: float) -> float: ... + @staticmethod + def collapseExplicitPairToLumpedCO2(double: float, double2: float) -> float: ... + @staticmethod + def createReaction() -> 'KineticReaction': ... + @staticmethod + def dehydrationRateConstant(double: float) -> float: ... + @staticmethod + def hydrationRateConstant(double: float) -> float: ... + @staticmethod + def partitionLumpedMolecularCO2(double: float, double2: float) -> 'AqueousCO2HydrationKinetics.SpeciationBridgeResult': ... + @staticmethod + def relaxationTimeSeconds(double: float) -> float: ... + @staticmethod + def screenResidenceTime(double: float, double2: float) -> 'AqueousCO2HydrationKinetics.TimescaleResult': ... + @staticmethod + def timeToRemainingDeviationFraction(double: float, double2: float) -> float: ... + class Result(java.io.Serializable): + def getCO2Concentration(self) -> float: ... + def getCarbonBalanceResidual(self) -> float: ... + def getCarbonicAcidConcentration(self) -> float: ... + def getDehydrationRateConstant(self) -> float: ... + def getHydrationRateConstant(self) -> float: ... + class SpeciationBridgeResult(java.io.Serializable): + def getCO2Concentration(self) -> float: ... + def getCO2ToCarbonicAcidEquilibriumRatio(self) -> float: ... + def getCarbonBalanceResidual(self) -> float: ... + def getCarbonicAcidConcentration(self) -> float: ... + def getCarbonicAcidToCO2EquilibriumRatio(self) -> float: ... + def getTotalMolecularCO2Concentration(self) -> float: ... + class TimescaleResult(java.io.Serializable): + def getDamkohlerNumber(self) -> float: ... + def getDehydrationRateConstant(self) -> float: ... + def getHydrationRateConstant(self) -> float: ... + def getRegime(self) -> 'KineticReactionDiagnostics.Regime': ... + def getRelaxationRateConstant(self) -> float: ... + def getRelaxationTimeSeconds(self) -> float: ... + def getRelaxedFraction(self) -> float: ... + def getRemainingDeviationFraction(self) -> float: ... + def getResidenceTimeSeconds(self) -> float: ... + def getTemperatureK(self) -> float: ... + +class AqueousCO2HydrationTrajectory(java.io.Serializable): + @staticmethod + def advance(double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'AqueousCO2HydrationTrajectory.TrajectoryResult': ... + class TrajectoryResult(java.io.Serializable): + def getCO2Concentration(self) -> float: ... + def getCarbonBalanceResidual(self) -> float: ... + def getCarbonicAcidConcentration(self) -> float: ... + def getCumulativeRelaxationExposure(self) -> float: ... + def getElapsedTimeSeconds(self) -> float: ... + def getMaximumTemperatureK(self) -> float: ... + def getMinimumTemperatureK(self) -> float: ... + def getSegmentCount(self) -> int: ... + def getTotalMolecularCO2Concentration(self) -> float: ... + +class AqueousCO2PressureKinetics(java.io.Serializable): + SOURCE_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + SOURCE_CITATION: typing.ClassVar[java.lang.String] = ... + SOURCE_ACCESS_STATUS: typing.ClassVar[java.lang.String] = ... + CORROBORATING_SOURCE_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + PUBLISHED_TEMPERATURE_K: typing.ClassVar[float] = ... + PUBLISHED_IONIC_STRENGTH: typing.ClassVar[float] = ... + MINIMUM_PRESSURE_BARA: typing.ClassVar[float] = ... + MAXIMUM_PRESSURE_BARA: typing.ClassVar[float] = ... + HYDRATION_ACTIVATION_VOLUME_CM3_PER_MOL: typing.ClassVar[float] = ... + HYDRATION_ACTIVATION_VOLUME_UNCERTAINTY_CM3_PER_MOL: typing.ClassVar[float] = ... + DEHYDRATION_ACTIVATION_VOLUME_CM3_PER_MOL: typing.ClassVar[float] = ... + DEHYDRATION_ACTIVATION_VOLUME_UNCERTAINTY_CM3_PER_MOL: typing.ClassVar[float] = ... + @staticmethod + def dehydrationMultiplier(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def dehydrationMultiplierRange(double: float, double2: float, double3: float) -> 'AqueousCO2PressureKinetics.MultiplierRange': ... + @staticmethod + def hydrationMultiplier(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def hydrationMultiplierRange(double: float, double2: float, double3: float) -> 'AqueousCO2PressureKinetics.MultiplierRange': ... + class MultiplierRange(java.io.Serializable): + def getMaximum(self) -> float: ... + def getMinimum(self) -> float: ... + def getNominal(self) -> float: ... + +class AqueousHydrogenSulfideOxidationKinetics(java.io.Serializable): + SOURCE_IDENTIFIER: typing.ClassVar[java.lang.String] = ... + SOURCE_CITATION: typing.ClassVar[java.lang.String] = ... + SOURCE_ACCESS_STATUS: typing.ClassVar[java.lang.String] = ... + MINIMUM_TEMPERATURE_K: typing.ClassVar[float] = ... + MAXIMUM_TEMPERATURE_K: typing.ClassVar[float] = ... + MINIMUM_PH: typing.ClassVar[float] = ... + MAXIMUM_PH: typing.ClassVar[float] = ... + MINIMUM_IONIC_STRENGTH_MOL_PER_KG_WATER: typing.ClassVar[float] = ... + MAXIMUM_IONIC_STRENGTH_MOL_PER_KG_WATER: typing.ClassVar[float] = ... + PUBLISHED_INITIAL_TOTAL_SULFIDE_MOLALITY: typing.ClassVar[float] = ... + PUBLISHED_INITIAL_TOTAL_SULFIDE_SPREAD: typing.ClassVar[float] = ... + LOG10_RATE_STANDARD_DEVIATION: typing.ClassVar[float] = ... + @staticmethod + def halfLifeHours(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def pseudoFirstOrderRateConstant(double: float, double2: float, double3: float, double4: float) -> float: ... + @staticmethod + def screenAirSaturatedExposure(double: float, double2: float, double3: float, double4: float, double5: float) -> 'AqueousHydrogenSulfideOxidationKinetics.ScreeningResult': ... + @staticmethod + def secondOrderRateConstant(double: float, double2: float, double3: float) -> float: ... + @staticmethod + def secondOrderRateConstantRange(double: float, double2: float, double3: float) -> 'AqueousHydrogenSulfideOxidationKinetics.RateConstantRange': ... + class RateConstantRange(java.io.Serializable): + def getLower(self) -> float: ... + def getNominal(self) -> float: ... + def getUpper(self) -> float: ... + class ScreeningResult(java.io.Serializable): + def getExposure(self) -> float: ... + def getHalfLifeHours(self) -> float: ... + def getPseudoFirstOrderRateConstant(self) -> float: ... + def getReactedFraction(self) -> float: ... + def getRemainingFraction(self) -> float: ... + def getSecondOrderRateConstant(self) -> float: ... + class AutothermalReformer(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -167,6 +297,32 @@ class CO2ImpurityKineticReactor(jneqsim.process.equipment.TwoPortEquipment): def setReactorLength(self, double: float) -> None: ... def setResidenceTime(self, double: float) -> None: ... +class CO2ImpurityKineticsQualificationReport(java.io.Serializable): + def getBlockedReactionIds(self) -> typing.MutableSequence[java.lang.String]: ... + def getEntries(self) -> java.util.List['CO2ImpurityKineticsQualificationReport.Entry']: ... + def getMaterial(self) -> java.lang.String: ... + def getPressureBara(self) -> float: ... + def getTemperatureK(self) -> float: ... + def isQualified(self) -> bool: ... + class Entry(java.io.Serializable): + def getReactionId(self) -> java.lang.String: ... + def getState(self) -> 'CO2ImpurityKineticsQualificationReport.QualificationState': ... + def isQualified(self) -> bool: ... + class QualificationState(java.lang.Enum['CO2ImpurityKineticsQualificationReport.QualificationState']): + MISSING: typing.ClassVar['CO2ImpurityKineticsQualificationReport.QualificationState'] = ... + NOT_VALIDATED: typing.ClassVar['CO2ImpurityKineticsQualificationReport.QualificationState'] = ... + OUT_OF_RANGE: typing.ClassVar['CO2ImpurityKineticsQualificationReport.QualificationState'] = ... + QUALIFIED: typing.ClassVar['CO2ImpurityKineticsQualificationReport.QualificationState'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'CO2ImpurityKineticsQualificationReport.QualificationState': ... + @staticmethod + def values() -> typing.MutableSequence['CO2ImpurityKineticsQualificationReport.QualificationState']: ... + class CatalystBed(java.io.Serializable): @typing.overload def __init__(self): ... @@ -654,6 +810,47 @@ class KineticReaction(java.io.Serializable): @staticmethod def values() -> typing.MutableSequence['KineticReaction.RateType']: ... +class KineticReactionDiagnostics(java.io.Serializable): + @staticmethod + def evaluate(kineticReaction: KineticReaction, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, double: float) -> 'KineticReactionDiagnostics': ... + def getDamkohlerNumber(self) -> float: ... + def getLimitingReactant(self) -> java.lang.String: ... + def getLimitingReactantConcentrationMolPerM3(self) -> float: ... + def getRateBasis(self) -> KineticReaction.RateBasis: ... + def getReactionName(self) -> java.lang.String: ... + def getReactionRate(self) -> float: ... + def getReactionTimeSeconds(self) -> float: ... + def getRegime(self) -> 'KineticReactionDiagnostics.Regime': ... + def getResidenceTimeSeconds(self) -> float: ... + class Regime(java.lang.Enum['KineticReactionDiagnostics.Regime']): + INACTIVE: typing.ClassVar['KineticReactionDiagnostics.Regime'] = ... + TRANSPORT_DOMINATED: typing.ClassVar['KineticReactionDiagnostics.Regime'] = ... + COUPLED: typing.ClassVar['KineticReactionDiagnostics.Regime'] = ... + REACTION_DOMINATED: typing.ClassVar['KineticReactionDiagnostics.Regime'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'KineticReactionDiagnostics.Regime': ... + @staticmethod + def values() -> typing.MutableSequence['KineticReactionDiagnostics.Regime']: ... + +class KineticReactionQualification(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], chemicalReactionValidationStatus: jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionValidationStatus, double: float, double2: float, double3: float, double4: float, string4: typing.Union[java.lang.String, str]): ... + def getLimitations(self) -> java.lang.String: ... + def getMaximumPressureBara(self) -> float: ... + def getMaximumTemperatureK(self) -> float: ... + def getMinimumPressureBara(self) -> float: ... + def getMinimumTemperatureK(self) -> float: ... + def getReactionName(self) -> java.lang.String: ... + def getSourceCitation(self) -> java.lang.String: ... + def getSourceIdentifier(self) -> java.lang.String: ... + def getValidationStatus(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionValidationStatus: ... + def isWithinRange(self, double: float, double2: float) -> bool: ... + def requireValidatedAt(self, double: float, double2: float) -> None: ... + class PartialOxidationReactor(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -1141,6 +1338,23 @@ class Fermenter(StirredTankReactor): def setMaintenanceCoefficient(self, double: float) -> None: ... def setTargetPH(self, double: float) -> None: ... +class QualifiedCO2ImpurityKineticReactor(CO2ImpurityKineticReactor, 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], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def getQualificationReport(self, double: float, double2: float) -> CO2ImpurityKineticsQualificationReport: ... + def getReactionQualification(self, string: typing.Union[java.lang.String, str]) -> KineticReactionQualification: ... + def getRequiredReactionIds(self) -> typing.MutableSequence[java.lang.String]: ... + def getUnqualifiedReactionIds(self, double: float, double2: float) -> typing.MutableSequence[java.lang.String]: ... + def requireValidatedKineticsAt(self, double: float, double2: float) -> None: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setReactionConstants(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setReactionQualification(self, string: typing.Union[java.lang.String, str], kineticReactionQualification: KineticReactionQualification) -> None: ... + class AnaerobicDigester(Fermenter): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -1317,9 +1531,14 @@ class __module_protocol__(Protocol): AmmoniaSynthesisReactor: typing.Type[AmmoniaSynthesisReactor] AnaerobicDigester: typing.Type[AnaerobicDigester] + AqueousCO2HydrationKinetics: typing.Type[AqueousCO2HydrationKinetics] + AqueousCO2HydrationTrajectory: typing.Type[AqueousCO2HydrationTrajectory] + AqueousCO2PressureKinetics: typing.Type[AqueousCO2PressureKinetics] + AqueousHydrogenSulfideOxidationKinetics: typing.Type[AqueousHydrogenSulfideOxidationKinetics] AutothermalReformer: typing.Type[AutothermalReformer] BiomassGasifier: typing.Type[BiomassGasifier] CO2ImpurityKineticReactor: typing.Type[CO2ImpurityKineticReactor] + CO2ImpurityKineticsQualificationReport: typing.Type[CO2ImpurityKineticsQualificationReport] CatalystBed: typing.Type[CatalystBed] CatalystDeactivationKinetics: typing.Type[CatalystDeactivationKinetics] CatalyticTubeReformer: typing.Type[CatalyticTubeReformer] @@ -1332,9 +1551,12 @@ class __module_protocol__(Protocol): IronSulfideOxidationSource: typing.Type[IronSulfideOxidationSource] IronSulfideWallInventory: typing.Type[IronSulfideWallInventory] KineticReaction: typing.Type[KineticReaction] + KineticReactionDiagnostics: typing.Type[KineticReactionDiagnostics] + KineticReactionQualification: typing.Type[KineticReactionQualification] PartialOxidationReactor: typing.Type[PartialOxidationReactor] PlugFlowReactor: typing.Type[PlugFlowReactor] PyrolysisReactor: typing.Type[PyrolysisReactor] + QualifiedCO2ImpurityKineticReactor: typing.Type[QualifiedCO2ImpurityKineticReactor] QuenchSection: typing.Type[QuenchSection] ReactorAxialProfile: typing.Type[ReactorAxialProfile] ReformerFurnace: typing.Type[ReformerFurnace] diff --git a/src/jneqsim-stubs/process/equipment/separator/__init__.pyi b/src/jneqsim-stubs/process/equipment/separator/__init__.pyi index df7f79a7..2f388c76 100644 --- a/src/jneqsim-stubs/process/equipment/separator/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/separator/__init__.pyi @@ -5,6 +5,7 @@ if sys.version_info >= (3, 8): else: from typing_extensions import Protocol +import java.io import java.lang import java.util import jneqsim.process @@ -103,6 +104,43 @@ class LiquidLiquidExtractor(jneqsim.process.equipment.ProcessEquipmentBaseClass) @typing.overload def toJson(self) -> java.lang.String: ... +class SeparatorCapacityAssessment(java.io.Serializable): + def getCurrentGasFlowM3PerS(self) -> float: ... + def getDesignBasisConfidence(self) -> float: ... + def getDesignBasisProvenance(self) -> java.lang.String: ... + def getDesignBasisSource(self) -> java.lang.String: ... + def getDesignGasLoadFactorMPerS(self) -> float: ... + def getDesignLiquidLevelFraction(self) -> float: ... + def getDiagnostic(self) -> java.lang.String: ... + def getGasAreaM2(self) -> float: ... + def getGasDensityKgM3(self) -> float: ... + def getGoverningCapacityBasis(self) -> java.lang.String: ... + def getInternalDiameterM(self) -> float: ... + def getLiquidDensityKgM3(self) -> float: ... + def getMaximumGasFlowM3PerS(self) -> float: ... + def getMaximumGasVelocityMPerS(self) -> float: ... + def getMechanicalDesignMaximumGasFlowM3PerS(self) -> float: ... + def getOrientation(self) -> java.lang.String: ... + def getSeparatorName(self) -> java.lang.String: ... + def getSoudersBrownMaximumGasFlowM3PerS(self) -> float: ... + def getStatus(self) -> 'SeparatorCapacityAssessment.Status': ... + def getUtilization(self) -> float: ... + def isFeasible(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class Status(java.lang.Enum['SeparatorCapacityAssessment.Status']): + FEASIBLE: typing.ClassVar['SeparatorCapacityAssessment.Status'] = ... + INFEASIBLE: typing.ClassVar['SeparatorCapacityAssessment.Status'] = ... + UNASSESSED: typing.ClassVar['SeparatorCapacityAssessment.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SeparatorCapacityAssessment.Status': ... + @staticmethod + def values() -> typing.MutableSequence['SeparatorCapacityAssessment.Status']: ... + class SeparatorInterface(jneqsim.process.SimulationInterface): @typing.overload def getHeatInput(self) -> float: ... @@ -228,6 +266,7 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn 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 getCapacityAssessment(self, string: typing.Union[java.lang.String, str]) -> SeparatorCapacityAssessment: ... def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... @@ -627,6 +666,7 @@ class __module_protocol__(Protocol): RotaryVacuumFilter: typing.Type[RotaryVacuumFilter] ScrewPress: typing.Type[ScrewPress] Separator: typing.Type[Separator] + SeparatorCapacityAssessment: typing.Type[SeparatorCapacityAssessment] SeparatorInterface: typing.Type[SeparatorInterface] SolidsCentrifuge: typing.Type[SolidsCentrifuge] SolidsSeparator: typing.Type[SolidsSeparator] diff --git a/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi b/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi index bfbca6b2..0291e832 100644 --- a/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi @@ -172,6 +172,7 @@ class Splitter(jneqsim.process.equipment.ProcessEquipmentBaseClass, SplitterInte def getSplitFactors(self) -> typing.MutableSequence[float]: ... def getSplitNumber(self) -> int: ... def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getTransientSplitMode(self) -> 'Splitter.TransientSplitMode': ... def initMechanicalDesign(self) -> None: ... def isCapacityAnalysisEnabled(self) -> bool: ... def isCapacityExceeded(self) -> bool: ... @@ -193,11 +194,24 @@ class Splitter(jneqsim.process.equipment.ProcessEquipmentBaseClass, SplitterInte def setMaxDesignVelocity(self, double: float) -> None: ... def setSplitFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setSplitNumber(self, int: int) -> None: ... + def setTransientSplitMode(self, transientSplitMode: 'Splitter.TransientSplitMode') -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + class TransientSplitMode(java.lang.Enum['Splitter.TransientSplitMode']): + DOWNSTREAM_DEMAND: typing.ClassVar['Splitter.TransientSplitMode'] = ... + PRESCRIBED_SPLIT: typing.ClassVar['Splitter.TransientSplitMode'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Splitter.TransientSplitMode': ... + @staticmethod + def values() -> typing.MutableSequence['Splitter.TransientSplitMode']: ... class __module_protocol__(Protocol): diff --git a/src/jneqsim-stubs/process/equipment/stream/__init__.pyi b/src/jneqsim-stubs/process/equipment/stream/__init__.pyi index 1bc26958..e0fc43ba 100644 --- a/src/jneqsim-stubs/process/equipment/stream/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/stream/__init__.pyi @@ -5,7 +5,6 @@ if sys.version_info >= (3, 8): else: from typing_extensions import Protocol -from jneqsim.display import register.._StreamDisplay import java.io import java.lang import java.util @@ -228,7 +227,7 @@ class EnergyType(java.lang.Enum['EnergyType']): @staticmethod def values() -> typing.MutableSequence['EnergyType']: ... -class StreamInterface(jneqsim.process.equipment.ProcessEquipmentInterface, register.._StreamDisplay): +class StreamInterface(jneqsim.process.equipment.ProcessEquipmentInterface): 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: ... @@ -394,6 +393,7 @@ class Stream(jneqsim.process.equipment.ProcessEquipmentBaseClass, StreamInterfac 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 getInletStreams(self) -> java.util.List[StreamInterface]: ... def getMolarRate(self) -> float: ... def getOutletStream(self) -> StreamInterface: ... @typing.overload diff --git a/src/jneqsim-stubs/process/equipment/tank/__init__.pyi b/src/jneqsim-stubs/process/equipment/tank/__init__.pyi index dd35bc36..23282a3d 100644 --- a/src/jneqsim-stubs/process/equipment/tank/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/tank/__init__.pyi @@ -43,6 +43,7 @@ class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process. def getGas(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getGasCarryunderFraction(self) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquidCarryoverFraction(self) -> float: ... def getLiquidLevel(self) -> float: ... @@ -56,6 +57,7 @@ class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process. def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.tank.TankMechanicalDesign: ... def getMinLiquidLevel(self) -> float: ... def getMinResidenceTime(self) -> float: ... + def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getSizingReport(self) -> java.lang.String: ... def getSizingReportJson(self) -> java.lang.String: ... def getVolume(self) -> float: ... diff --git a/src/jneqsim-stubs/process/equipment/util/__init__.pyi b/src/jneqsim-stubs/process/equipment/util/__init__.pyi index 363aacfe..02273cd3 100644 --- a/src/jneqsim-stubs/process/equipment/util/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/util/__init__.pyi @@ -393,6 +393,205 @@ class GORfitter(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... +class LubeOilSystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): + MAX_BEARING_SUPPLY_TEMPERATURE: typing.ClassVar[float] = ... + MAX_RESERVOIR_TURNOVERS_PER_HOUR: typing.ClassVar[float] = ... + MAX_FILTER_RATING_MICRON: typing.ClassVar[float] = ... + MAX_CLEAN_FILTER_PRESSURE_DROP: typing.ClassVar[float] = ... + MIN_PUMP_RATED_MARGIN: typing.ClassVar[float] = ... + MIN_RUNDOWN_TIME: typing.ClassVar[float] = ... + MAX_HEATER_WATT_DENSITY: typing.ClassVar[float] = ... + MIN_DRAIN_SLOPE: typing.ClassVar[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], serviceCategory: 'LubeOilSystem.ServiceCategory'): ... + @typing.overload + def addConsumer(self, string: typing.Union[java.lang.String, str], consumerType: 'LubeOilSystem.ConsumerType', double: float) -> 'LubeOilSystem.OilConsumer': ... + @typing.overload + def addConsumer(self, oilConsumer: 'LubeOilSystem.OilConsumer') -> None: ... + def addConsumerFromShaftPower(self, string: typing.Union[java.lang.String, str], consumerType: 'LubeOilSystem.ConsumerType', double: float) -> 'LubeOilSystem.OilConsumer': ... + def addControlOilConsumer(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LubeOilSystem.OilConsumer': ... + def getAccumulatorAllowablePressureDrop(self) -> float: ... + def getAccumulatorPrechargePressure(self) -> float: ... + def getAccumulatorTransferTime(self) -> float: ... + def getAccumulatorVolume(self) -> float: ... + def getBearingElevation(self) -> float: ... + def getComplianceChecks(self) -> java.util.List['LubeOilSystem.ComplianceCheck']: ... + def getConsumers(self) -> java.util.List['LubeOilSystem.OilConsumer']: ... + def getControlOilFlow(self) -> float: ... + def getControlOilHeaderPressure(self) -> float: ... + def getControlValvePressureDrop(self) -> float: ... + def getCoolerDuty(self) -> float: ... + def getCoolerDutyPerUnit(self) -> float: ... + def getCoolerPressureDrop(self) -> float: ... + def getCoolingWaterFlow(self) -> float: ... + def getCoolingWaterInletTemperature(self) -> float: ... + def getCoolingWaterOutletTemperature(self) -> float: ... + def getDeviations(self) -> java.util.List['LubeOilSystem.ComplianceCheck']: ... + def getDrainPipeDiameter(self) -> float: ... + def getDrainSlope(self) -> float: ... + def getFilterPressureDropClean(self) -> float: ... + def getFilterPressureDropFouled(self) -> float: ... + def getFilterRatingMicron(self) -> float: ... + def getHeaterMinimumArea(self) -> float: ... + def getHeaterPower(self) -> float: ... + def getHeaterSoakTime(self) -> float: ... + def getLubeHeaderPressure(self) -> float: ... + def getLubeOilFlow(self) -> float: ... + def getMaxSupplyVelocity(self) -> float: ... + def getMinimumStartTemperature(self) -> float: ... + def getNormalOilFlow(self) -> float: ... + def getNumberOfCoolers(self) -> int: ... + def getNumberOfFilters(self) -> int: ... + def getNumberOfPumps(self) -> int: ... + def getOilDensity(self, double: float) -> float: ... + def getOilDensityAtSupply(self) -> float: ... + def getOilDynamicViscosity(self, double: float) -> float: ... + def getOilGrade(self) -> 'LubeOilSystem.OilGrade': ... + def getOilHeatCapacity(self, double: float) -> float: ... + def getOilHeatCapacityAtSupply(self) -> float: ... + def getOilKinematicViscosity(self, double: float) -> float: ... + def getOilViscosityAtSupply(self) -> float: ... + def getPipingPressureDrop(self) -> float: ... + def getPumpDesignMargin(self) -> float: ... + def getPumpDifferentialPressure(self) -> float: ... + def getPumpDischargePressure(self) -> float: ... + def getPumpEfficiency(self) -> float: ... + def getPumpHydraulicPower(self) -> float: ... + def getPumpMotorRating(self) -> float: ... + def getPumpShaftPower(self) -> float: ... + def getRatedPumpFlow(self) -> float: ... + def getRequiredStartTemperature(self) -> float: ... + def getReservoirFreeboardFraction(self) -> float: ... + def getReservoirRetentionTime(self) -> float: ... + def getReservoirTemperature(self) -> float: ... + def getReservoirTotalVolume(self) -> float: ... + def getReservoirTurnoverRate(self) -> float: ... + def getReservoirWorkingVolume(self) -> float: ... + def getRundownTankVolume(self) -> float: ... + def getRundownTime(self) -> float: ... + def getServiceCategory(self) -> 'LubeOilSystem.ServiceCategory': ... + def getSupplyPipeDiameter(self) -> float: ... + def getSupplyTemperature(self) -> float: ... + def getTotalHeatLoad(self) -> float: ... + def isAccumulatorFitted(self) -> bool: ... + def isApiCompliant(self) -> bool: ... + def isSystemRunning(self) -> bool: ... + @typing.overload + def run(self) -> None: ... + @typing.overload + def run(self, uUID: java.util.UUID) -> None: ... + def setAccumulatorAllowablePressureDrop(self, double: float) -> None: ... + def setAccumulatorFitted(self, boolean: bool) -> None: ... + def setAccumulatorTransferTime(self, double: float) -> None: ... + def setBearingElevation(self, double: float) -> None: ... + def setControlOilHeaderPressure(self, double: float) -> None: ... + def setControlValvePressureDrop(self, double: float) -> None: ... + def setCoolerPressureDrop(self, double: float) -> None: ... + def setCoolingWaterInletTemperature(self, double: float) -> None: ... + def setCoolingWaterOutletTemperature(self, double: float) -> None: ... + def setDrainSlope(self, double: float) -> None: ... + def setFilterPressureDropClean(self, double: float) -> None: ... + def setFilterPressureDropFouled(self, double: float) -> None: ... + def setFilterRatingMicron(self, double: float) -> None: ... + def setHeaterSoakTime(self, double: float) -> None: ... + def setLubeHeaderPressure(self, double: float) -> None: ... + def setMaxSupplyVelocity(self, double: float) -> None: ... + def setMinimumStartTemperature(self, double: float) -> None: ... + def setNumberOfCoolers(self, int: int) -> None: ... + def setNumberOfFilters(self, int: int) -> None: ... + def setNumberOfPumps(self, int: int) -> None: ... + def setOilGrade(self, oilGrade: 'LubeOilSystem.OilGrade') -> None: ... + def setPipingPressureDrop(self, double: float) -> None: ... + def setPumpDesignMargin(self, double: float) -> None: ... + def setPumpEfficiency(self, double: float) -> None: ... + def setRequiredStartTemperature(self, double: float) -> None: ... + def setReservoirFreeboardFraction(self, double: float) -> None: ... + def setReservoirTemperature(self, double: float) -> None: ... + def setRundownTime(self, double: float) -> None: ... + def setServiceCategory(self, serviceCategory: 'LubeOilSystem.ServiceCategory') -> None: ... + def setSupplyTemperature(self, double: float) -> None: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + class ComplianceCheck(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], boolean: bool): ... + def getActual(self) -> java.lang.String: ... + def getItem(self) -> java.lang.String: ... + def getReference(self) -> java.lang.String: ... + def getRequirement(self) -> java.lang.String: ... + def isCompliant(self) -> bool: ... + class ConsumerType(java.lang.Enum['LubeOilSystem.ConsumerType']): + JOURNAL_BEARING: typing.ClassVar['LubeOilSystem.ConsumerType'] = ... + THRUST_BEARING: typing.ClassVar['LubeOilSystem.ConsumerType'] = ... + GEARBOX: typing.ClassVar['LubeOilSystem.ConsumerType'] = ... + MECHANICAL_SEAL: typing.ClassVar['LubeOilSystem.ConsumerType'] = ... + CONTROL_OIL: typing.ClassVar['LubeOilSystem.ConsumerType'] = ... + OTHER: typing.ClassVar['LubeOilSystem.ConsumerType'] = ... + def getLossFraction(self) -> float: ... + def getTemperatureRise(self) -> float: ... + def isControlOil(self) -> bool: ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LubeOilSystem.ConsumerType': ... + @staticmethod + def values() -> typing.MutableSequence['LubeOilSystem.ConsumerType']: ... + class OilConsumer(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], consumerType: 'LubeOilSystem.ConsumerType'): ... + def getCalculatedFlow(self) -> float: ... + def getHeatLoad(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getRequiredSupplyPressure(self) -> float: ... + def getShaftPower(self) -> float: ... + def getSpecifiedFlow(self) -> float: ... + def getTemperatureRise(self) -> float: ... + def getType(self) -> 'LubeOilSystem.ConsumerType': ... + def setCalculatedFlow(self, double: float) -> None: ... + def setHeatLoad(self, double: float) -> None: ... + def setRequiredSupplyPressure(self, double: float) -> None: ... + def setShaftPower(self, double: float) -> None: ... + def setSpecifiedFlow(self, double: float) -> None: ... + def setTemperatureRise(self, double: float) -> None: ... + class OilGrade(java.lang.Enum['LubeOilSystem.OilGrade']): + ISO_VG_32: typing.ClassVar['LubeOilSystem.OilGrade'] = ... + ISO_VG_46: typing.ClassVar['LubeOilSystem.OilGrade'] = ... + ISO_VG_68: typing.ClassVar['LubeOilSystem.OilGrade'] = ... + ISO_VG_100: typing.ClassVar['LubeOilSystem.OilGrade'] = ... + def getDensity15(self) -> float: ... + def getViscosity100(self) -> float: ... + def getViscosity40(self) -> 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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LubeOilSystem.OilGrade': ... + @staticmethod + def values() -> typing.MutableSequence['LubeOilSystem.OilGrade']: ... + class ServiceCategory(java.lang.Enum['LubeOilSystem.ServiceCategory']): + GENERAL_PURPOSE: typing.ClassVar['LubeOilSystem.ServiceCategory'] = ... + SPECIAL_PURPOSE: typing.ClassVar['LubeOilSystem.ServiceCategory'] = ... + def getMinRetentionMinutes(self) -> float: ... + def getReference(self) -> java.lang.String: ... + def isRundownTankRequired(self) -> bool: ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'LubeOilSystem.ServiceCategory': ... + @staticmethod + def values() -> typing.MutableSequence['LubeOilSystem.ServiceCategory']: ... + class MPFMfitter(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def __init__(self): ... @@ -623,6 +822,10 @@ class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setAbsoluteFlowTolerance(self, double: float) -> None: ... def setAccelerationMethod(self, accelerationMethod: AccelerationMethod) -> None: ... def setAdaptiveAcceleration(self, boolean: bool) -> None: ... @@ -1010,6 +1213,7 @@ class __module_protocol__(Protocol): FlowSetter: typing.Type[FlowSetter] FuelGasSystem: typing.Type[FuelGasSystem] GORfitter: typing.Type[GORfitter] + LubeOilSystem: typing.Type[LubeOilSystem] MPFMfitter: typing.Type[MPFMfitter] MoleFractionControllerUtil: typing.Type[MoleFractionControllerUtil] MultiVariableAdjuster: typing.Type[MultiVariableAdjuster] diff --git a/src/jneqsim-stubs/process/equipment/valve/__init__.pyi b/src/jneqsim-stubs/process/equipment/valve/__init__.pyi index 1c1c7e74..5031077d 100644 --- a/src/jneqsim-stubs/process/equipment/valve/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/valve/__init__.pyi @@ -556,6 +556,8 @@ class SafetyReliefValve(ThrottlingValve): @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 configureBalancedModulating(self, double: float, double2: float, double3: float, double4: float) -> 'SafetyReliefValve': ... def configureConventionalSnap(self, double: float, double2: float, double3: float, double4: float) -> 'SafetyReliefValve': ... diff --git a/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi index 074650db..a39f0c10 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi @@ -33,6 +33,7 @@ class CashFlowEngine(java.io.Serializable): def calculateNPV(self, double: float) -> float: ... def copy(self) -> 'CashFlowEngine': ... def getCapexSchedule(self) -> java.util.Map[int, float]: ... + def getCommodityFeeSchedule(self) -> 'CommodityFeeSchedule': ... def getCountryCode(self) -> java.lang.String: ... def getCountryName(self) -> java.lang.String: ... def getFirstYear(self) -> int: ... @@ -52,6 +53,7 @@ class CashFlowEngine(java.io.Serializable): 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 setCommodityFeeSchedule(self, commodityFeeSchedule: 'CommodityFeeSchedule') -> None: ... def setFixedOpexPerYear(self, double: float) -> None: ... def setFixedOpexStartYear(self, int: int) -> None: ... def setGasPrice(self, double: float) -> None: ... @@ -67,7 +69,7 @@ class CashFlowEngine(java.io.Serializable): 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, double15: float): ... def getAfterTaxCashFlow(self) -> float: ... def getCapex(self) -> float: ... def getCorporateTax(self) -> float: ... @@ -79,6 +81,7 @@ class CashFlowEngine(java.io.Serializable): def getOpex(self) -> float: ... def getPetroleumTax(self) -> float: ... def getPreTaxCashFlow(self) -> float: ... + def getProcessingFee(self) -> float: ... def getTariff(self) -> float: ... def getTotalTax(self) -> float: ... def getUplift(self) -> float: ... @@ -98,6 +101,23 @@ class CashFlowEngine(java.io.Serializable): def toMarkdownTable(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... +class CommodityFeeSchedule(java.io.Serializable): + @staticmethod + def builder() -> 'CommodityFeeSchedule.Builder': ... + def calculateAnnualFeeMusd(self, double: float, double2: float, double3: float) -> float: ... + def getAnnualFixedFeeMusd(self) -> float: ... + def getGasProcessingFeeUsdPerSm3(self) -> float: ... + def getNglProcessingFeeUsdPerBbl(self) -> float: ... + def getOilProcessingFeeUsdPerBbl(self) -> float: ... + @staticmethod + def none() -> 'CommodityFeeSchedule': ... + class Builder: + def annualFixedFee(self, double: float) -> 'CommodityFeeSchedule.Builder': ... + def build(self) -> 'CommodityFeeSchedule': ... + def gasProcessingFee(self, double: float) -> 'CommodityFeeSchedule.Builder': ... + def nglProcessingFee(self, double: float) -> 'CommodityFeeSchedule.Builder': ... + def oilProcessingFee(self, double: float) -> 'CommodityFeeSchedule.Builder': ... + class FiscalParameters(java.io.Serializable): @staticmethod def builder(string: typing.Union[java.lang.String, str]) -> 'FiscalParameters.Builder': ... @@ -549,6 +569,7 @@ class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.economics")``. CashFlowEngine: typing.Type[CashFlowEngine] + CommodityFeeSchedule: typing.Type[CommodityFeeSchedule] FiscalParameters: typing.Type[FiscalParameters] GenericTaxModel: typing.Type[GenericTaxModel] NorwegianTaxModel: typing.Type[NorwegianTaxModel] diff --git a/src/jneqsim-stubs/process/measurementdevice/__init__.pyi b/src/jneqsim-stubs/process/measurementdevice/__init__.pyi index 7aa2bbfd..00280a66 100644 --- a/src/jneqsim-stubs/process/measurementdevice/__init__.pyi +++ b/src/jneqsim-stubs/process/measurementdevice/__init__.pyi @@ -11,10 +11,12 @@ import java.util import jneqsim.process import jneqsim.process.alarm import jneqsim.process.dynamics +import jneqsim.process.equipment import jneqsim.process.equipment.compressor import jneqsim.process.equipment.pipeline import jneqsim.process.equipment.separator import jneqsim.process.equipment.stream +import jneqsim.process.equipment.tank import jneqsim.process.equipment.valve import jneqsim.process.logic import jneqsim.process.measurementdevice.online @@ -331,16 +333,27 @@ class GasDetector(MeasurementDeviceBaseClass, jneqsim.process.dynamics.Transient def values() -> typing.MutableSequence['GasDetector.GasType']: ... class LevelTransmitter(MeasurementDeviceBaseClass): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], tank: jneqsim.process.equipment.tank.Tank): ... + @typing.overload + def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + @typing.overload def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... + @typing.overload + def __init__(self, tank: jneqsim.process.equipment.tank.Tank): ... def displayResult(self) -> None: ... + def getLevelEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... def getSeparator(self) -> jneqsim.process.equipment.separator.Separator: ... + def getTank(self) -> jneqsim.process.equipment.tank.Tank: ... + def getVessel(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... class OilLevelTransmitter(MeasurementDeviceBaseClass): @typing.overload @@ -353,6 +366,7 @@ class OilLevelTransmitter(MeasurementDeviceBaseClass): @typing.overload def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... def getOilThickness(self) -> float: ... + def getSeparator(self) -> jneqsim.process.equipment.separator.ThreePhaseSeparator: ... class PushButton(MeasurementDeviceBaseClass, jneqsim.process.dynamics.TransientStateParticipant['PushButton.PushButtonState']): @typing.overload @@ -395,6 +409,7 @@ class WaterLevelTransmitter(MeasurementDeviceBaseClass): def getMeasuredValue(self) -> float: ... @typing.overload def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSeparator(self) -> jneqsim.process.equipment.separator.ThreePhaseSeparator: ... class CombustionEmissionsCalculator(StreamMeasurementDeviceBaseClass): @typing.overload diff --git a/src/jneqsim-stubs/process/mechanicaldesign/distillation/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/distillation/__init__.pyi index d27557de..389591d7 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/distillation/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/distillation/__init__.pyi @@ -5,15 +5,52 @@ if sys.version_info >= (3, 8): else: from typing_extensions import Protocol +import java.io import java.lang +import java.util import jpype import jneqsim.process.equipment +import jneqsim.process.equipment.capacity import jneqsim.process.equipment.distillation +import jneqsim.process.equipment.distillation.internals import jneqsim.process.mechanicaldesign +import jneqsim.process.mechanicaldesign.separator.internals import typing +class ContactorCapacityComparison(java.io.Serializable): + def __init__(self, contactorCapacityResult: 'ContactorCapacityResult', contactorCapacityResult2: 'ContactorCapacityResult'): ... + def getBaseline(self) -> 'ContactorCapacityResult': ... + def getCandidate(self) -> 'ContactorCapacityResult': ... + def getEstimatedCapacityIncreasePercent(self) -> float: ... + def toJson(self) -> java.lang.String: ... + +class ContactorCapacityResult(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, boolean: bool, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, string5: typing.Union[java.lang.String, str], double13: float, double14: float, boolean2: bool): ... + def getBottleneck(self) -> java.lang.String: ... + def getColumnDiameter(self) -> float: ... + def getDemisterMaximumKFactor(self) -> float: ... + def getDemisterOperatingKFactor(self) -> float: ... + def getDemisterSubType(self) -> java.lang.String: ... + def getDemisterType(self) -> java.lang.String: ... + def getDemisterUtilization(self) -> float: ... + def getEstimatedGasCapacityMultiplier(self) -> float: ... + def getEstimatedMaximumGasFlowKgPerHour(self) -> float: ... + def getFloodingUtilization(self) -> float: ... + def getFsFactor(self) -> float: ... + def getGasFlowKgPerHour(self) -> float: ... + def getInternalsType(self) -> java.lang.String: ... + def getOverallUtilization(self) -> float: ... + def getPackingHydraulicCapacityFactor(self) -> float: ... + def getPackingName(self) -> java.lang.String: ... + def getPercentFlood(self) -> float: ... + def getPressureDropBar(self) -> float: ... + def getPressureDropUtilization(self) -> float: ... + def isDesignOk(self) -> bool: ... + def isWettingOk(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class DistillationColumnMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... def calcDesign(self) -> None: ... @@ -22,16 +59,27 @@ class DistillationColumnMechanicalDesign(jneqsim.process.mechanicaldesign.Mechan def calculateReboilerCost(self) -> float: ... def calculateTotalSystemCost(self) -> float: ... def calculateWeights(self) -> None: ... + def comparePackedInternals(self, string: typing.Union[java.lang.String, str], boolean: bool, double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> ContactorCapacityComparison: ... + def configureOutletDemister(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def configurePackedInternals(self, string: typing.Union[java.lang.String, str], boolean: bool, double: float, double2: float, double3: float) -> None: ... + def disableOutletDemister(self) -> None: ... def getActualTrays(self) -> int: ... def getColumnDiameter(self) -> float: ... + def getColumnDiameterOverride(self) -> float: ... def getColumnHeight(self) -> float: ... def getColumnWallThickness(self) -> float: ... def getCondenserDuty(self) -> float: ... + def getContactorCapacityResult(self) -> ContactorCapacityResult: ... + def getContactorInternalsDesigner(self) -> jneqsim.process.equipment.distillation.internals.ColumnInternalsDesigner: ... + def getContactorInternalsType(self) -> java.lang.String: ... + def getDesignCapacityConstraints(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]: ... def getDesignStandardCode(self) -> java.lang.String: ... def getFloodingFactor(self) -> float: ... def getMaterialGrade(self) -> java.lang.String: ... + def getMaxContactorPressureDropBar(self) -> float: ... def getMaxFloodingFactor(self) -> float: ... def getNumberOfTrays(self) -> int: ... + def getOutletDemisterOperatingWindow(self) -> jneqsim.process.mechanicaldesign.separator.internals.InternalOperatingWindow: ... def getReboilerDuty(self) -> float: ... def getTotalPressureDrop(self) -> float: ... def getTrayEfficiency(self) -> float: ... @@ -45,10 +93,14 @@ class DistillationColumnMechanicalDesign(jneqsim.process.mechanicaldesign.Mechan 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 setColumnDiameterOverride(self, double: float) -> None: ... def setColumnHeight(self, double: float) -> None: ... + def setContactorInternalsType(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 setMaxContactorPressureDropBar(self, double: float) -> None: ... def setMaxFloodingFactor(self, double: float) -> None: ... + def setOutletDemisterAreaFraction(self, double: float) -> None: ... def setTrayEfficiency(self, double: float) -> None: ... def setTraySpacing(self, double: float) -> None: ... def setTrayType(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -58,4 +110,6 @@ class DistillationColumnMechanicalDesign(jneqsim.process.mechanicaldesign.Mechan class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.distillation")``. + ContactorCapacityComparison: typing.Type[ContactorCapacityComparison] + ContactorCapacityResult: typing.Type[ContactorCapacityResult] DistillationColumnMechanicalDesign: typing.Type[DistillationColumnMechanicalDesign] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi index d4519a7d..8410c8e8 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi @@ -20,6 +20,18 @@ import typing +class DrainageHeadResult(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def getAvailableHeadMm(self) -> float: ... + def getCycloneDpToDrainPa(self) -> float: ... + def getGasDensityKgM3(self) -> float: ... + def getLiquidDensityKgM3(self) -> float: ... + def getMeshDpPa(self) -> float: ... + def getPercentOfAvailable(self) -> float: ... + def getRequiredHeadMm(self) -> float: ... + def getTotalDpPa(self) -> float: ... + def toString(self) -> java.lang.String: ... + class SeparatorEfficiencyReport(java.io.Serializable): VERDICT_GOOD: typing.ClassVar[java.lang.String] = ... VERDICT_BELOW_TURNDOWN: typing.ClassVar[java.lang.String] = ... @@ -106,6 +118,7 @@ class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig def getEntrainmentDetailJson(self) -> java.lang.String: ... def getFg(self) -> float: ... def getFoamAllowanceFactor(self) -> float: ... + def getFreePathHeightAboveInletDevice(self) -> float: ... def getGasCarryUnderCalibrationFactor(self) -> float: ... def getGasInOilFraction(self) -> float: ... def getGasInWaterFraction(self) -> float: ... @@ -118,6 +131,9 @@ class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig def getHLL(self) -> float: ... def getHLLFraction(self) -> float: ... def getInletDeviceKFactor(self) -> float: ... + def getInletDeviceTopElevation(self) -> float: ... + def getInletDeviceTopElevationOrDefault(self) -> float: ... + def getInletNozzleElevation(self) -> float: ... def getInletNozzleID(self) -> float: ... def getInletPipeDiameter(self) -> float: ... def getInletToGasDemister(self) -> float: ... @@ -133,6 +149,8 @@ class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig def getLiquidLiquidCalibrationFactor(self) -> float: ... def getMaxGasVelocityLimit(self) -> float: ... def getMaxLiquidVelocity(self) -> float: ... + def getMeshPadBottomElevation(self) -> float: ... + def getMeshPadTopElevation(self) -> float: ... def getMinDesignTemperatureC(self) -> float: ... def getMinOilRetentionTime(self) -> float: ... def getMinWaterRetentionTime(self) -> float: ... @@ -199,7 +217,9 @@ 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 setInletDeviceTopElevation(self, double: float) -> None: ... def setInletDeviceType(self, inletDeviceType: jneqsim.process.equipment.separator.entrainment.InletDeviceModel.InletDeviceType) -> None: ... + def setInletNozzleElevation(self, double: float) -> None: ... def setInletNozzleID(self, double: float) -> None: ... def setInletPipeDiameter(self, double: float) -> None: ... def setInletToGasDemister(self, double: float) -> None: ... @@ -211,6 +231,7 @@ class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig 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 setMeshPadBottomElevation(self, double: float) -> None: ... def setMinDesignTemperatureC(self, double: float) -> None: ... def setMinOilRetentionTime(self, double: float) -> None: ... def setMinWaterRetentionTime(self, double: float) -> None: ... @@ -354,11 +375,13 @@ class GasScrubberMechanicalDesign(SeparatorMechanicalDesign): def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... def calcDesign(self) -> None: ... def checkConformity(self) -> jneqsim.process.mechanicaldesign.separator.conformity.ConformityReport: ... + def computeDrainageHead(self) -> DrainageHeadResult: ... def getConformityStandard(self) -> java.lang.String: ... def getCycloneDeckElevationM(self) -> float: ... def getCycloneDpToDrainPct(self) -> float: ... def getCycloneEulerNumber(self) -> float: ... def getCycloneLengthM(self) -> float: ... + def getCycloneTopElevation(self) -> float: ... def getDemistingCycloneDiameterM(self) -> float: ... def getDrainPipeDiameterM(self) -> float: ... def getHhllElevationM(self) -> float: ... @@ -412,6 +435,7 @@ class GasScrubberMechanicalDesign(SeparatorMechanicalDesign): class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.separator")``. + DrainageHeadResult: typing.Type[DrainageHeadResult] GasScrubberMechanicalDesign: typing.Type[GasScrubberMechanicalDesign] SeparatorEfficiencyReport: typing.Type[SeparatorEfficiencyReport] SeparatorMechanicalDesign: typing.Type[SeparatorMechanicalDesign] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi index 777242b5..955b8280 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi @@ -64,11 +64,19 @@ class ValveCharacteristic(java.io.Serializable): class ValveMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + @typing.overload + def addAvailableTrimOption(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + @typing.overload + def addAvailableTrimOption(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def assessTrimOptionsForRequiredCv(self, double: float) -> 'ValveTrimSizingResult': ... def calcDesign(self) -> None: ... def calcValveSize(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def clearAvailableTrimOptions(self) -> None: ... def displayResults(self) -> None: ... + def evaluateAvailableTrimOptions(self) -> 'ValveTrimSizingResult': ... def getActuatorWeight(self) -> float: ... def getAnsiPressureClass(self) -> int: ... + def getAvailableTrimOptions(self) -> java.util.List['ValveTrimOption']: ... def getBodyWallThickness(self) -> float: ... def getBodyWeight(self) -> float: ... def getChokeDiameter(self) -> float: ... @@ -79,11 +87,17 @@ class ValveMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getFaceToFace(self) -> float: ... def getFlangeType(self) -> java.lang.String: ... def getInletPressure(self) -> float: ... + def getMaximumAllowedTrimUtilization(self) -> float: ... + def getMaximumAvailableTrimCv(self) -> float: ... def getNominalSizeInches(self) -> float: ... def getOutletPressure(self) -> float: ... def getRequiredActuatorThrust(self) -> float: ... + def getRequiredCv(self) -> float: ... def getResponse(self) -> 'ValveMechanicalDesignResponse': ... + def getSelectedTrimOption(self) -> 'ValveTrimOption': ... def getStemDiameter(self) -> float: ... + def getTrimCvUtilization(self) -> float: ... + def getTrimSizingResult(self) -> 'ValveTrimSizingResult': ... def getValveCharacterization(self) -> java.lang.String: ... def getValveCharacterizationMethod(self) -> ValveCharacteristic: ... def getValveCvMax(self) -> float: ... @@ -94,6 +108,7 @@ class ValveMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def readDesignSpecifications(self) -> None: ... def setChokeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... def setChokeDischargeCoefficient(self, double: float) -> None: ... + def setMaximumAllowedTrimUtilization(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: ... @@ -107,6 +122,7 @@ class ValveMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalD def getActuatorType(self) -> java.lang.String: ... def getActuatorWeight(self) -> float: ... def getAnsiPressureClass(self) -> int: ... + def getAvailableTrimOptions(self) -> java.util.List['ValveTrimOption']: ... def getBodyWallThickness(self) -> float: ... def getBodyWeight(self) -> float: ... def getCavitationIndex(self) -> float: ... @@ -119,22 +135,35 @@ class ValveMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalD def getInletPressure(self) -> float: ... def getKv(self) -> float: ... def getMassFlowRate(self) -> float: ... + def getMaximumAllowedTrimUtilization(self) -> float: ... + def getMaximumAvailableTrimCv(self) -> float: ... def getNoiseLevel(self) -> float: ... def getNominalSizeInches(self) -> float: ... def getOutletPressure(self) -> float: ... def getPressureDrop(self) -> float: ... + def getRelativeTrimSizePercent(self) -> float: ... def getRequiredActuatorThrust(self) -> float: ... + def getSelectedTrimIdentifier(self) -> java.lang.String: ... + def getSelectedTrimMaximumCv(self) -> float: ... def getStemDiameter(self) -> float: ... + def getTrimAssessmentStatus(self) -> java.lang.String: ... + def getTrimConstruction(self) -> java.lang.String: ... + def getTrimCvCapacityMargin(self) -> float: ... + def getTrimCvUtilization(self) -> float: ... + def getTrimMaterial(self) -> java.lang.String: ... + def getTrimRecommendation(self) -> java.lang.String: ... def getValveCharacteristic(self) -> java.lang.String: ... def getValveOpening(self) -> float: ... def getValveType(self) -> java.lang.String: ... def getVolumetricFlowRate(self) -> float: ... def getXtFactor(self) -> float: ... def isChoked(self) -> bool: ... + def isTrimFeasible(self) -> bool: ... 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: ... + def setAvailableTrimOptions(self, list: java.util.List['ValveTrimOption']) -> None: ... def setBodyWallThickness(self, double: float) -> None: ... def setBodyWeight(self, double: float) -> None: ... def setCavitationIndex(self, double: float) -> None: ... @@ -148,18 +177,77 @@ class ValveMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalD def setInletPressure(self, double: float) -> None: ... def setKv(self, double: float) -> None: ... def setMassFlowRate(self, double: float) -> None: ... + def setMaximumAllowedTrimUtilization(self, double: float) -> None: ... + def setMaximumAvailableTrimCv(self, double: float) -> None: ... def setNoiseLevel(self, double: float) -> None: ... def setNominalSizeInches(self, double: float) -> None: ... def setOutletPressure(self, double: float) -> None: ... def setPressureDrop(self, double: float) -> None: ... + def setRelativeTrimSizePercent(self, double: float) -> None: ... def setRequiredActuatorThrust(self, double: float) -> None: ... + def setSelectedTrimIdentifier(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSelectedTrimMaximumCv(self, double: float) -> None: ... def setStemDiameter(self, double: float) -> None: ... + def setTrimAssessmentStatus(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTrimConstruction(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTrimCvCapacityMargin(self, double: float) -> None: ... + def setTrimCvUtilization(self, double: float) -> None: ... + def setTrimFeasible(self, boolean: bool) -> None: ... + def setTrimMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTrimRecommendation(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: ... def setXtFactor(self, double: float) -> None: ... +class ValveTrimOption(java.io.Serializable): + @typing.overload + 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, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def getConstruction(self) -> java.lang.String: ... + def getIdentifier(self) -> java.lang.String: ... + def getMaterial(self) -> java.lang.String: ... + def getMaximumDesignCv(self) -> float: ... + def getRelativeTrimSizePercent(self) -> float: ... + +class ValveTrimSizingResult(java.io.Serializable): + @staticmethod + def feasible(double: float, valveTrimOption: ValveTrimOption, double2: float, double3: float) -> 'ValveTrimSizingResult': ... + def getCapacityMarginCv(self) -> float: ... + def getLimitingTrimOption(self) -> ValveTrimOption: ... + def getMaximumAllowedUtilization(self) -> float: ... + def getMaximumAvailableCv(self) -> float: ... + def getRecommendation(self) -> java.lang.String: ... + def getRequiredCv(self) -> float: ... + def getSelectedTrimOption(self) -> ValveTrimOption: ... + def getStatus(self) -> 'ValveTrimSizingResult.Status': ... + def getUtilization(self) -> float: ... + @staticmethod + def infeasible(double: float, valveTrimOption: ValveTrimOption, double2: float) -> 'ValveTrimSizingResult': ... + def isEvaluated(self) -> bool: ... + def isFeasible(self) -> bool: ... + @typing.overload + @staticmethod + def notEvaluated(double: float, string: typing.Union[java.lang.String, str]) -> 'ValveTrimSizingResult': ... + @typing.overload + @staticmethod + def notEvaluated(double: float, string: typing.Union[java.lang.String, str], double2: float) -> 'ValveTrimSizingResult': ... + class Status(java.lang.Enum['ValveTrimSizingResult.Status']): + NOT_EVALUATED: typing.ClassVar['ValveTrimSizingResult.Status'] = ... + FEASIBLE: typing.ClassVar['ValveTrimSizingResult.Status'] = ... + NO_FEASIBLE_TRIM: typing.ClassVar['ValveTrimSizingResult.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ValveTrimSizingResult.Status': ... + @staticmethod + def values() -> typing.MutableSequence['ValveTrimSizingResult.Status']: ... + class ControlValveSizing(ControlValveSizingInterface, java.io.Serializable): @typing.overload def __init__(self): ... @@ -393,4 +481,6 @@ class __module_protocol__(Protocol): ValveCharacteristic: typing.Type[ValveCharacteristic] ValveMechanicalDesign: typing.Type[ValveMechanicalDesign] ValveMechanicalDesignResponse: typing.Type[ValveMechanicalDesignResponse] + ValveTrimOption: typing.Type[ValveTrimOption] + ValveTrimSizingResult: typing.Type[ValveTrimSizingResult] choke: jneqsim.process.mechanicaldesign.valve.choke.__module_protocol__ diff --git a/src/jneqsim-stubs/process/operations/__init__.pyi b/src/jneqsim-stubs/process/operations/__init__.pyi index e2c72295..4e85cf8b 100644 --- a/src/jneqsim-stubs/process/operations/__init__.pyi +++ b/src/jneqsim-stubs/process/operations/__init__.pyi @@ -18,6 +18,60 @@ import typing +class ControllerEvidenceBinding(java.io.Serializable): + SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... + @staticmethod + def builder(string: typing.Union[java.lang.String, str]) -> 'ControllerEvidenceBinding.Builder': ... + def getActiveCount(self) -> 'ControllerEvidenceBinding.SignalEvidence': ... + def getActuators(self) -> java.util.List['ControllerEvidenceBinding.ActuatorEvidence']: ... + def getControllerId(self) -> java.lang.String: ... + def getFallbackAvailable(self) -> 'ControllerEvidenceBinding.SignalEvidence': ... + def getMaxAgeMillis(self) -> int: ... + def getMode(self) -> 'ControllerEvidenceBinding.SignalEvidence': ... + def getPermissive(self) -> 'ControllerEvidenceBinding.SignalEvidence': ... + def getRouting(self) -> java.util.List['ControllerEvidenceBinding.SignalEvidence']: ... + def isSubstitutedGoodAllowed(self) -> bool: ... + def toReadinessJson(self, long: int) -> java.lang.String: ... + def validate(self, long: int) -> jneqsim.util.validation.ValidationResult: ... + class ActuatorEvidence(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], signalEvidence: 'ControllerEvidenceBinding.SignalEvidence', signalEvidence2: 'ControllerEvidenceBinding.SignalEvidence'): ... + def getActuatorId(self) -> java.lang.String: ... + def getCommand(self) -> 'ControllerEvidenceBinding.SignalEvidence': ... + def getFeedback(self) -> 'ControllerEvidenceBinding.SignalEvidence': ... + class Builder: + def activeCount(self, signalEvidence: 'ControllerEvidenceBinding.SignalEvidence') -> 'ControllerEvidenceBinding.Builder': ... + def addActuator(self, string: typing.Union[java.lang.String, str], signalEvidence: 'ControllerEvidenceBinding.SignalEvidence', signalEvidence2: 'ControllerEvidenceBinding.SignalEvidence') -> 'ControllerEvidenceBinding.Builder': ... + def addRouting(self, signalEvidence: 'ControllerEvidenceBinding.SignalEvidence') -> 'ControllerEvidenceBinding.Builder': ... + def allowSubstitutedGood(self, boolean: bool) -> 'ControllerEvidenceBinding.Builder': ... + def build(self) -> 'ControllerEvidenceBinding': ... + def fallbackAvailable(self, signalEvidence: 'ControllerEvidenceBinding.SignalEvidence') -> 'ControllerEvidenceBinding.Builder': ... + def maxAgeMillis(self, long: int) -> 'ControllerEvidenceBinding.Builder': ... + def mode(self, signalEvidence: 'ControllerEvidenceBinding.SignalEvidence') -> 'ControllerEvidenceBinding.Builder': ... + def permissive(self, signalEvidence: 'ControllerEvidenceBinding.SignalEvidence') -> 'ControllerEvidenceBinding.Builder': ... + class EvidenceQuality(java.lang.Enum['ControllerEvidenceBinding.EvidenceQuality']): + GOOD: typing.ClassVar['ControllerEvidenceBinding.EvidenceQuality'] = ... + SUBSTITUTED_GOOD: typing.ClassVar['ControllerEvidenceBinding.EvidenceQuality'] = ... + QUESTIONABLE: typing.ClassVar['ControllerEvidenceBinding.EvidenceQuality'] = ... + BAD: typing.ClassVar['ControllerEvidenceBinding.EvidenceQuality'] = ... + UNKNOWN: typing.ClassVar['ControllerEvidenceBinding.EvidenceQuality'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ControllerEvidenceBinding.EvidenceQuality': ... + @staticmethod + def values() -> typing.MutableSequence['ControllerEvidenceBinding.EvidenceQuality']: ... + class SignalEvidence(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], long: int, evidenceQuality: 'ControllerEvidenceBinding.EvidenceQuality', string4: typing.Union[java.lang.String, str]): ... + def getEngineeringUnit(self) -> java.lang.String: ... + def getLogicalTag(self) -> java.lang.String: ... + def getProvenanceId(self) -> java.lang.String: ... + def getQuality(self) -> 'ControllerEvidenceBinding.EvidenceQuality': ... + def getTimestampMillis(self) -> int: ... + def getValue(self) -> java.lang.String: ... + class ControllerTuningResult(java.io.Serializable): def getControllerName(self) -> java.lang.String: ... def getIntegralAbsoluteError(self) -> float: ... @@ -204,6 +258,7 @@ class WaterHammerStudy: class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.operations")``. + ControllerEvidenceBinding: typing.Type[ControllerEvidenceBinding] ControllerTuningResult: typing.Type[ControllerTuningResult] ControllerTuningStudy: typing.Type[ControllerTuningStudy] OperatingTrialAssessment: typing.Type[OperatingTrialAssessment] diff --git a/src/jneqsim-stubs/process/processmodel/__init__.pyi b/src/jneqsim-stubs/process/processmodel/__init__.pyi index 504e159d..ac3011e4 100644 --- a/src/jneqsim-stubs/process/processmodel/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/__init__.pyi @@ -5,7 +5,6 @@ if sys.version_info >= (3, 8): else: from typing_extensions import Protocol -from jneqsim.display import register.._ProcessDisplay import com.google.gson import java.io import java.lang @@ -242,8 +241,272 @@ class ProcessLoader: @staticmethod def loadProcessFromYaml(string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> None: ... +class ProcessModel(java.lang.Runnable, java.io.Serializable): + DEFAULT_ENGINEERING_TOLERANCE: typing.ClassVar[float] = ... + DEFAULT_AUTO_TOLERANCE_CEILING: typing.ClassVar[float] = ... + AUTO_TOLERANCE_STALL_WINDOW: typing.ClassVar[int] = ... + DEFAULT_MASS_CLOSURE_TOLERANCE: typing.ClassVar[float] = ... + DEFAULT_BOUNDARY_FLOW_FLOOR: typing.ClassVar[float] = ... + DEFAULT_AUTO_TUNING_FLOW_FRACTION: typing.ClassVar[float] = ... + def __init__(self): ... + def activateAll(self) -> None: ... + @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 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 beginTransientStepTransaction(self) -> jneqsim.process.dynamics.TransientStepTransaction: ... + @staticmethod + 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': ... + @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 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]: ... + @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 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': ... + @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 getAbsoluteFlowTolerance(self) -> float: ... + def getAllProcesses(self) -> java.util.Collection['ProcessSystem']: ... + def getAreaNames(self) -> java.util.List[java.lang.String]: ... + def getAutoToleranceCeiling(self) -> float: ... + def getAutoToleranceSummary(self) -> java.lang.String: ... + def getAutoTuningFlowFraction(self) -> float: ... + def getAutoTuningSummary(self) -> 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 getBoundaryFlowFloor(self) -> float: ... + def getBypassedUnits(self) -> java.util.List[java.lang.String]: ... + 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 getConvergenceReportJson(self) -> java.lang.String: ... + def getConvergenceSummary(self) -> java.lang.String: ... + def getCoolerDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDetectedPlantFlowScale(self) -> 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']]: ... + @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 getFlowTolerance(self) -> float: ... + def getHeaterDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLastBoundaryStreamErrors(self) -> java.util.List['ProcessModel.BoundaryStreamError']: ... + def getLastIterationCount(self) -> int: ... + def getLastMassClosureError(self) -> float: ... + def getLastMaxFlowError(self) -> float: ... + def getLastMaxPressureError(self) -> float: ... + def getLastMaxTemperatureError(self) -> float: ... + def getLastUnitMassClosureError(self) -> float: ... + @typing.overload + def getMassBalanceReport(self) -> java.lang.String: ... + @typing.overload + def getMassBalanceReport(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getMassClosureSummary(self) -> java.lang.String: ... + def getMassClosureTolerance(self) -> float: ... + def getMaxIterations(self) -> int: ... + def getNonConvergedBoundaryStreamErrors(self) -> java.util.List['ProcessModel.BoundaryStreamError']: ... + 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 getReport_json(self) -> java.lang.String: ... + 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 getTotalFeedFlowRate(self) -> float: ... + def getTransientTransactionCoverage(self) -> jneqsim.process.dynamics.TransientTransactionCoverage: ... + def getUnitByReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getUnitMassClosureOffenders(self) -> java.lang.String: ... + @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 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 getWorstBoundaryStreamError(self, string: typing.Union[java.lang.String, str]) -> 'ProcessModel.BoundaryStreamError': ... + def getWorstBoundaryStreamName(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def has(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def invalidateTopology(self) -> None: ... + def isAnyEquipmentOverloaded(self) -> bool: ... + def isAnyHardLimitExceeded(self) -> bool: ... + def isAutoConvergenceTuning(self) -> bool: ... + def isAutoLowFlowBypass(self) -> bool: ... + def isAutoMassClosureGate(self) -> bool: ... + def isAutoTolerance(self) -> bool: ... + def isAutoValidate(self) -> bool: ... + def isCheckpointEnabled(self) -> bool: ... + def isFinished(self) -> bool: ... + def isModelConverged(self) -> bool: ... + def isPreventNestedParallelExecution(self) -> bool: ... + def isPublishEvents(self) -> bool: ... + def isReadyToRun(self) -> bool: ... + def isRunStep(self) -> bool: ... + def isToleranceExplicit(self) -> bool: ... + def isUnitMassClosureGate(self) -> bool: ... + def isUseAdaptiveModelParallelism(self) -> bool: ... + def isUseCoordinatedRecycleAcceleration(self) -> bool: ... + def isUseFastRecycleConvergence(self) -> bool: ... + def isUseFlashWarmStart(self) -> bool: ... + def isUseIncrementalAreaExecution(self) -> bool: ... + def isUseOptimizedExecution(self) -> bool: ... + @staticmethod + def loadAuto(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + @staticmethod + def loadFromNeqsim(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + @staticmethod + def loadStateFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + def remove(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def resetAutoTuning(self) -> int: ... + def resolveStreamReference(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def run(self) -> None: ... + def runAsTask(self) -> java.util.concurrent.Future[typing.Any]: ... + def runAsThread(self) -> java.lang.Thread: ... + def runStep(self) -> None: ... + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + def runTransientTransactional(self, double: float, uUID: java.util.UUID) -> None: ... + @typing.overload + def runUntilConverged(self) -> bool: ... + @typing.overload + def runUntilConverged(self, int: int) -> bool: ... + @typing.overload + def runUntilConverged(self, int: int, double: float) -> bool: ... + @typing.overload + def runUntilConverged(self, int: int, double: float, double2: float) -> bool: ... + def saveAuto(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def saveStateToFile(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def saveToNeqsim(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def setAbsoluteFlowTolerance(self, double: float) -> None: ... + def setAutoConvergenceTuning(self, boolean: bool) -> None: ... + def setAutoLowFlowBypass(self, boolean: bool) -> None: ... + def setAutoMassClosureGate(self, boolean: bool) -> None: ... + def setAutoTolerance(self, boolean: bool) -> None: ... + def setAutoToleranceCeiling(self, double: float) -> None: ... + def setAutoTuningFlowFraction(self, double: float) -> None: ... + def setAutoValidate(self, boolean: bool) -> None: ... + def setBoundaryFlowFloor(self, double: float) -> None: ... + 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 setFlowTolerance(self, double: float) -> None: ... + def setIntegratorStrategy(self, integratorStrategy: jneqsim.process.dynamics.IntegratorStrategy) -> None: ... + def setMassClosureTolerance(self, double: float) -> None: ... + def setMaxIterations(self, int: int) -> None: ... + @typing.overload + def setMultiPhaseCheck(self, boolean: bool) -> int: ... + @typing.overload + def setMultiPhaseCheck(self, string: typing.Union[java.lang.String, str], boolean: bool) -> int: ... + def setPressureTolerance(self, double: float) -> None: ... + def setPreventNestedParallelExecution(self, boolean: bool) -> None: ... + def setProgressListener(self, modelProgressListener: typing.Union['ProcessModel.ModelProgressListener', typing.Callable]) -> None: ... + @typing.overload + def setPropertyInitLevel(self, string: typing.Union[java.lang.String, str], propertyInitLevel: jneqsim.process.equipment.stream.Stream.PropertyInitLevel) -> int: ... + @typing.overload + def setPropertyInitLevel(self, propertyInitLevel: jneqsim.process.equipment.stream.Stream.PropertyInitLevel) -> int: ... + def setPublishEvents(self, boolean: bool) -> None: ... + def setRecycleAccelerationMethod(self, accelerationMethod: jneqsim.process.equipment.util.AccelerationMethod) -> int: ... + def setRecycleMinimumFlow(self, double: float) -> int: ... + def setRunStep(self, boolean: bool) -> None: ... + @typing.overload + 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: ... + def setTemperatureTolerance(self, double: float) -> None: ... + def setTolerance(self, double: float) -> None: ... + def setUnitMassClosureGate(self, boolean: bool) -> None: ... + def setUseAdaptiveModelParallelism(self, boolean: bool) -> None: ... + def setUseCoordinatedRecycleAcceleration(self, boolean: bool) -> None: ... + def setUseFastRecycleConvergence(self, boolean: bool) -> None: ... + 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 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 validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + class BoundaryStreamError(java.io.Serializable): + def getAbsoluteFlowChange(self) -> float: ... + def getCurrentFlow(self) -> float: ... + def getFlowError(self) -> float: ... + def getMaxError(self) -> float: ... + def getPressureError(self) -> float: ... + def getPreviousFlow(self) -> float: ... + def getProducerLabel(self) -> java.lang.String: ... + def getQualifiedName(self) -> java.lang.String: ... + def getStreamName(self) -> java.lang.String: ... + def getTemperatureError(self) -> float: ... + def isFlowCollapsedToZero(self) -> bool: ... + def isFlowStartedFromZero(self) -> bool: ... + 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 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: ... + class ProcessModelGraphvizExporter(java.io.Serializable): - def __init__(self, processModel: 'ProcessModel'): ... + 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 getTitle(self) -> java.lang.String: ... @@ -261,7 +524,7 @@ class ProcessModelResult: 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 getModel(self) -> ProcessModel: ... def getRunStatusJson(self) -> java.lang.String: ... def getStatus(self) -> 'ProcessModelResult.Status': ... def getWarnings(self) -> java.util.List[java.lang.String]: ... @@ -269,7 +532,7 @@ class ProcessModelResult: 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: ... @@ -364,15 +627,219 @@ class ProcessSimulationSession: def setMaxSessions(self, int: int) -> None: ... def shutdown(self) -> None: ... -class ProcessSystem(jneqsim.process.SimulationBaseClass, register.._ProcessDisplay): - @typing.overload +class ProcessSystemGraphvizExporter: def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str]): ... - def activateAll(self) -> int: ... - def activateSection(self, string: typing.Union[java.lang.String, str]) -> int: ... + def export(self, processSystem: 'ProcessSystem', string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def add(self, int: int, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 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': ... + @staticmethod + def defaults() -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions': ... + def getFlowRateUnit(self) -> java.lang.String: ... + def getPressureUnit(self) -> java.lang.String: ... + def getTablePlacement(self) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement': ... + def getTemperatureUnit(self) -> java.lang.String: ... + def includeStreamFlowRates(self) -> bool: ... + def includeStreamPressures(self) -> bool: ... + def includeStreamPropertyTable(self) -> bool: ... + def includeStreamTemperatures(self) -> bool: ... + 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) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement': ... + @staticmethod + 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 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 reset(self) -> None: ... + def toJson(self) -> java.lang.String: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + def toString(self) -> java.lang.String: ... + +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': ... + @typing.overload + @staticmethod + 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 getMetadata(self) -> com.google.gson.JsonObject: ... + def getProcessSystem(self) -> 'ProcessSystem': ... + def getReportJson(self) -> java.lang.String: ... + def getStatus(self) -> 'SimulationResult.Status': ... + def getWarnings(self) -> java.util.List[java.lang.String]: ... + def hasMetadata(self) -> bool: ... + def hasWarnings(self) -> bool: ... + def isError(self) -> bool: ... + 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': ... + @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 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 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) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'SimulationResult.Status': ... + @staticmethod + 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 getAreaName(self) -> java.lang.String: ... + def getErrorMessage(self) -> java.lang.String: ... + def getUnitName(self) -> java.lang.String: ... + def getUnitType(self) -> java.lang.String: ... + def isSuccess(self) -> bool: ... + def toJsonObject(self) -> com.google.gson.JsonObject: ... + def toString(self) -> java.lang.String: ... + +class XmlUtil: + @staticmethod + def createDocumentBuilder() -> javax.xml.parsers.DocumentBuilder: ... + +class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterface): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def calcDesign(self) -> None: ... + def disableAllConstraints(self) -> int: ... + def displayResult(self) -> None: ... + 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: ... + @typing.overload + 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: ... + @typing.overload + 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: ... + @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 getOperations(self) -> 'ProcessSystem': ... + def getPreferedThermodynamicModel(self) -> java.lang.String: ... + @typing.overload + def getPressure(self) -> float: ... + @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 getSpecification(self) -> java.lang.String: ... + @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 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: ... + @typing.overload + def runTransient(self, double: float) -> None: ... + @typing.overload + def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... + @typing.overload + 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 setDesign(self) -> None: ... + def setIsCalcDesign(self, boolean: bool) -> 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: ... + @typing.overload + 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 setTemperature(self, double: float) -> None: ... + def solved(self) -> bool: ... + @typing.overload + def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + @typing.overload + def toJson(self) -> java.lang.String: ... + +class ProcessSystem(jneqsim.process.SimulationBaseClass): + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str]): ... + 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 @@ -442,20 +909,20 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass, register.._Proc @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: ... @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 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: ... @@ -556,7 +1023,7 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass, register.._Proc def getRecycleBlockReport(self) -> java.lang.String: ... 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: ... @@ -586,6 +1053,7 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass, register.._Proc def hasAdjusters(self) -> bool: ... def hasCalculators(self) -> bool: ... def hasMultiInputEquipment(self) -> bool: ... + def hasRecycleFlowCoordinators(self) -> bool: ... def hasRecycleLoops(self) -> bool: ... def hasRecycles(self) -> bool: ... def hasUnitName(self, string: typing.Union[java.lang.String, str]) -> bool: ... @@ -637,7 +1105,7 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass, register.._Proc 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: ... @@ -739,7 +1207,7 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass, register.._Proc def toJson(self) -> java.lang.String: ... def toSVG(self) -> java.lang.String: ... def validateAll(self) -> java.util.Map[java.lang.String, jneqsim.util.validation.ValidationResult]: ... - def validateAndReport(self) -> 'SimulationResult': ... + def validateAndReport(self) -> SimulationResult: ... @staticmethod def validateJson(string: typing.Union[java.lang.String, str]) -> ProcessJsonValidator.ValidationReport: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... @@ -787,474 +1255,6 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass, register.._Proc 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: ... - @typing.overload - def export(self, processSystem: ProcessSystem, string: typing.Union[java.lang.String, str], graphvizExportOptions: 'ProcessSystemGraphvizExporter.GraphvizExportOptions') -> None: ... - class GraphvizExportOptions: - @staticmethod - def builder() -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - @staticmethod - def defaults() -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions': ... - def getFlowRateUnit(self) -> java.lang.String: ... - def getPressureUnit(self) -> java.lang.String: ... - def getTablePlacement(self) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement': ... - def getTemperatureUnit(self) -> java.lang.String: ... - def includeStreamFlowRates(self) -> bool: ... - def includeStreamPressures(self) -> bool: ... - def includeStreamPropertyTable(self) -> bool: ... - def includeStreamTemperatures(self) -> bool: ... - 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) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement': ... - @staticmethod - 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 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 reset(self) -> None: ... - def toJson(self) -> java.lang.String: ... - def toJsonObject(self) -> com.google.gson.JsonObject: ... - def toString(self) -> java.lang.String: ... - -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': ... - @typing.overload - @staticmethod - 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 getMetadata(self) -> com.google.gson.JsonObject: ... - def getProcessSystem(self) -> ProcessSystem: ... - def getReportJson(self) -> java.lang.String: ... - def getStatus(self) -> 'SimulationResult.Status': ... - def getWarnings(self) -> java.util.List[java.lang.String]: ... - def hasMetadata(self) -> bool: ... - def hasWarnings(self) -> bool: ... - def isError(self) -> bool: ... - 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': ... - @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 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 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) # - @typing.overload - @staticmethod - def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... - @typing.overload - @staticmethod - def valueOf(string: typing.Union[java.lang.String, str]) -> 'SimulationResult.Status': ... - @staticmethod - 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 getAreaName(self) -> java.lang.String: ... - def getErrorMessage(self) -> java.lang.String: ... - def getUnitName(self) -> java.lang.String: ... - def getUnitType(self) -> java.lang.String: ... - def isSuccess(self) -> bool: ... - def toJsonObject(self) -> com.google.gson.JsonObject: ... - def toString(self) -> java.lang.String: ... - -class XmlUtil: - @staticmethod - def createDocumentBuilder() -> javax.xml.parsers.DocumentBuilder: ... - -class ProcessModel(java.lang.Runnable, java.io.Serializable): - DEFAULT_ENGINEERING_TOLERANCE: typing.ClassVar[float] = ... - DEFAULT_AUTO_TOLERANCE_CEILING: typing.ClassVar[float] = ... - AUTO_TOLERANCE_STALL_WINDOW: typing.ClassVar[int] = ... - DEFAULT_MASS_CLOSURE_TOLERANCE: typing.ClassVar[float] = ... - DEFAULT_BOUNDARY_FLOW_FLOOR: typing.ClassVar[float] = ... - DEFAULT_AUTO_TUNING_FLOW_FRACTION: typing.ClassVar[float] = ... - def __init__(self): ... - def activateAll(self) -> None: ... - @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 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 beginTransientStepTransaction(self) -> jneqsim.process.dynamics.TransientStepTransaction: ... - @staticmethod - 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: ... - @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 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]: ... - @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 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': ... - @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 getAbsoluteFlowTolerance(self) -> float: ... - def getAllProcesses(self) -> java.util.Collection[ProcessSystem]: ... - def getAreaNames(self) -> java.util.List[java.lang.String]: ... - def getAutoToleranceCeiling(self) -> float: ... - def getAutoToleranceSummary(self) -> java.lang.String: ... - def getAutoTuningFlowFraction(self) -> float: ... - def getAutoTuningSummary(self) -> 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 getBoundaryFlowFloor(self) -> float: ... - def getBypassedUnits(self) -> java.util.List[java.lang.String]: ... - 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 getConvergenceReportJson(self) -> java.lang.String: ... - def getConvergenceSummary(self) -> java.lang.String: ... - def getCoolerDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getDetectedPlantFlowScale(self) -> 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]]: ... - @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 getFlowTolerance(self) -> float: ... - def getHeaterDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getLastBoundaryStreamErrors(self) -> java.util.List['ProcessModel.BoundaryStreamError']: ... - def getLastIterationCount(self) -> int: ... - def getLastMassClosureError(self) -> float: ... - def getLastMaxFlowError(self) -> float: ... - def getLastMaxPressureError(self) -> float: ... - def getLastMaxTemperatureError(self) -> float: ... - def getLastUnitMassClosureError(self) -> float: ... - @typing.overload - def getMassBalanceReport(self) -> java.lang.String: ... - @typing.overload - def getMassBalanceReport(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getMassClosureSummary(self) -> java.lang.String: ... - def getMassClosureTolerance(self) -> float: ... - def getMaxIterations(self) -> int: ... - def getNonConvergedBoundaryStreamErrors(self) -> java.util.List['ProcessModel.BoundaryStreamError']: ... - 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 getReport_json(self) -> java.lang.String: ... - 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 getTotalFeedFlowRate(self) -> float: ... - def getTransientTransactionCoverage(self) -> jneqsim.process.dynamics.TransientTransactionCoverage: ... - def getUnitByReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getUnitMassClosureOffenders(self) -> java.lang.String: ... - @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 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 getWorstBoundaryStreamError(self, string: typing.Union[java.lang.String, str]) -> 'ProcessModel.BoundaryStreamError': ... - def getWorstBoundaryStreamName(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def has(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def invalidateTopology(self) -> None: ... - def isAnyEquipmentOverloaded(self) -> bool: ... - def isAnyHardLimitExceeded(self) -> bool: ... - def isAutoConvergenceTuning(self) -> bool: ... - def isAutoLowFlowBypass(self) -> bool: ... - def isAutoMassClosureGate(self) -> bool: ... - def isAutoTolerance(self) -> bool: ... - def isAutoValidate(self) -> bool: ... - def isCheckpointEnabled(self) -> bool: ... - def isFinished(self) -> bool: ... - def isModelConverged(self) -> bool: ... - def isPreventNestedParallelExecution(self) -> bool: ... - def isPublishEvents(self) -> bool: ... - def isReadyToRun(self) -> bool: ... - def isRunStep(self) -> bool: ... - def isToleranceExplicit(self) -> bool: ... - def isUnitMassClosureGate(self) -> bool: ... - def isUseAdaptiveModelParallelism(self) -> bool: ... - def isUseCoordinatedRecycleAcceleration(self) -> bool: ... - def isUseFastRecycleConvergence(self) -> bool: ... - def isUseFlashWarmStart(self) -> bool: ... - def isUseIncrementalAreaExecution(self) -> bool: ... - def isUseOptimizedExecution(self) -> bool: ... - @staticmethod - def loadAuto(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... - @staticmethod - def loadFromNeqsim(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... - @staticmethod - def loadStateFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... - def remove(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def resetAutoTuning(self) -> int: ... - def resolveStreamReference(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... - def run(self) -> None: ... - def runAsTask(self) -> java.util.concurrent.Future[typing.Any]: ... - def runAsThread(self) -> java.lang.Thread: ... - def runStep(self) -> None: ... - def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def runTransientTransactional(self, double: float, uUID: java.util.UUID) -> None: ... - @typing.overload - def runUntilConverged(self) -> bool: ... - @typing.overload - def runUntilConverged(self, int: int) -> bool: ... - @typing.overload - def runUntilConverged(self, int: int, double: float) -> bool: ... - @typing.overload - def runUntilConverged(self, int: int, double: float, double2: float) -> bool: ... - def saveAuto(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def saveStateToFile(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def saveToNeqsim(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def setAbsoluteFlowTolerance(self, double: float) -> None: ... - def setAutoConvergenceTuning(self, boolean: bool) -> None: ... - def setAutoLowFlowBypass(self, boolean: bool) -> None: ... - def setAutoMassClosureGate(self, boolean: bool) -> None: ... - def setAutoTolerance(self, boolean: bool) -> None: ... - def setAutoToleranceCeiling(self, double: float) -> None: ... - def setAutoTuningFlowFraction(self, double: float) -> None: ... - def setAutoValidate(self, boolean: bool) -> None: ... - def setBoundaryFlowFloor(self, double: float) -> None: ... - 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 setFlowTolerance(self, double: float) -> None: ... - def setIntegratorStrategy(self, integratorStrategy: jneqsim.process.dynamics.IntegratorStrategy) -> None: ... - def setMassClosureTolerance(self, double: float) -> None: ... - def setMaxIterations(self, int: int) -> None: ... - @typing.overload - def setMultiPhaseCheck(self, boolean: bool) -> int: ... - @typing.overload - def setMultiPhaseCheck(self, string: typing.Union[java.lang.String, str], boolean: bool) -> int: ... - def setPressureTolerance(self, double: float) -> None: ... - def setPreventNestedParallelExecution(self, boolean: bool) -> None: ... - def setProgressListener(self, modelProgressListener: typing.Union['ProcessModel.ModelProgressListener', typing.Callable]) -> None: ... - @typing.overload - def setPropertyInitLevel(self, string: typing.Union[java.lang.String, str], propertyInitLevel: jneqsim.process.equipment.stream.Stream.PropertyInitLevel) -> int: ... - @typing.overload - def setPropertyInitLevel(self, propertyInitLevel: jneqsim.process.equipment.stream.Stream.PropertyInitLevel) -> int: ... - def setPublishEvents(self, boolean: bool) -> None: ... - def setRecycleAccelerationMethod(self, accelerationMethod: jneqsim.process.equipment.util.AccelerationMethod) -> int: ... - def setRecycleMinimumFlow(self, double: float) -> int: ... - def setRunStep(self, boolean: bool) -> None: ... - @typing.overload - 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: ... - def setTemperatureTolerance(self, double: float) -> None: ... - def setTolerance(self, double: float) -> None: ... - def setUnitMassClosureGate(self, boolean: bool) -> None: ... - def setUseAdaptiveModelParallelism(self, boolean: bool) -> None: ... - def setUseCoordinatedRecycleAcceleration(self, boolean: bool) -> None: ... - def setUseFastRecycleConvergence(self, boolean: bool) -> None: ... - 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 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 validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... - class BoundaryStreamError(java.io.Serializable): - def getAbsoluteFlowChange(self) -> float: ... - def getCurrentFlow(self) -> float: ... - def getFlowError(self) -> float: ... - def getMaxError(self) -> float: ... - def getPressureError(self) -> float: ... - def getPreviousFlow(self) -> float: ... - def getProducerLabel(self) -> java.lang.String: ... - def getQualifiedName(self) -> java.lang.String: ... - def getStreamName(self) -> java.lang.String: ... - def getTemperatureError(self) -> float: ... - def isFlowCollapsedToZero(self) -> bool: ... - def isFlowStartedFromZero(self) -> bool: ... - 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 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: ... - -class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterface): - def __init__(self, string: typing.Union[java.lang.String, str]): ... - def calcDesign(self) -> None: ... - def disableAllConstraints(self) -> int: ... - def displayResult(self) -> None: ... - 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: ... - @typing.overload - 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: ... - @typing.overload - 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: ... - @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 getOperations(self) -> ProcessSystem: ... - def getPreferedThermodynamicModel(self) -> java.lang.String: ... - @typing.overload - def getPressure(self) -> float: ... - @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 getSpecification(self) -> java.lang.String: ... - @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 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: ... - @typing.overload - def runTransient(self, double: float) -> None: ... - @typing.overload - def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - @typing.overload - 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 setDesign(self) -> None: ... - def setIsCalcDesign(self, boolean: bool) -> 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: ... - @typing.overload - 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 setTemperature(self, double: float) -> None: ... - def solved(self) -> bool: ... - @typing.overload - 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/dexpi/__init__.pyi b/src/jneqsim-stubs/process/processmodel/dexpi/__init__.pyi index bc732dfa..7e7f6625 100644 --- a/src/jneqsim-stubs/process/processmodel/dexpi/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/dexpi/__init__.pyi @@ -11,6 +11,7 @@ import java.nio.file import java.util import jpype.protocol import jneqsim.process.controllerdevice +import jneqsim.process.engineering.model import jneqsim.process.equipment import jneqsim.process.equipment.stream import jneqsim.process.measurementdevice @@ -46,6 +47,74 @@ class Dexpi20ConformanceAssessment: def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... +class Dexpi20GraphicalProjectionAssessment: + @staticmethod + def assess(engineeringGraphicalProjection: jneqsim.process.engineering.model.EngineeringGraphicalProjection, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'Dexpi20GraphicalProjectionAssessment.Report': ... + class Diagnostic(java.io.Serializable): + def getCode(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'Dexpi20GraphicalProjectionAssessment.Severity': ... + def getSubjectId(self) -> java.lang.String: ... + class Report(java.io.Serializable): + def getDiagnostics(self) -> java.util.List['Dexpi20GraphicalProjectionAssessment.Diagnostic']: ... + def getExpectedPrimitiveSignatures(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getExportedPrimitiveSignatures(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getInspectedFileSha256(self) -> java.lang.String: ... + def getMatchedPrimitiveCount(self) -> int: ... + def getRevision(self) -> java.lang.String: ... + def getSourceGraphFingerprint(self) -> java.lang.String: ... + def getSourceReference(self) -> java.lang.String: ... + def isSupportedProjectionEquivalent(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Severity(java.lang.Enum['Dexpi20GraphicalProjectionAssessment.Severity']): + INFO: typing.ClassVar['Dexpi20GraphicalProjectionAssessment.Severity'] = ... + WARNING: typing.ClassVar['Dexpi20GraphicalProjectionAssessment.Severity'] = ... + ERROR: typing.ClassVar['Dexpi20GraphicalProjectionAssessment.Severity'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Dexpi20GraphicalProjectionAssessment.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['Dexpi20GraphicalProjectionAssessment.Severity']: ... + +class Dexpi20GraphicalProjectionReport(java.io.Serializable): + def getDiagnostics(self) -> java.util.List['Dexpi20GraphicalProjectionReport.Diagnostic']: ... + def getEmittedPrimitiveCount(self) -> int: ... + def getEmittedRepresentationGroupCount(self) -> int: ... + def getRevision(self) -> java.lang.String: ... + def getSkippedPrimitiveCount(self) -> int: ... + def getSourceGraphFingerprint(self) -> java.lang.String: ... + def getSourceReference(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Diagnostic(java.io.Serializable): + def getCode(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'Dexpi20GraphicalProjectionReport.Severity': ... + def getSubjectId(self) -> java.lang.String: ... + class Severity(java.lang.Enum['Dexpi20GraphicalProjectionReport.Severity']): + INFO: typing.ClassVar['Dexpi20GraphicalProjectionReport.Severity'] = ... + WARNING: typing.ClassVar['Dexpi20GraphicalProjectionReport.Severity'] = ... + ERROR: typing.ClassVar['Dexpi20GraphicalProjectionReport.Severity'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Dexpi20GraphicalProjectionReport.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['Dexpi20GraphicalProjectionReport.Severity']: ... + +class Dexpi20GraphicalProjectionWriter: + @staticmethod + def write(processSystem: jneqsim.process.processmodel.ProcessSystem, engineeringGraphicalProjection: jneqsim.process.engineering.model.EngineeringGraphicalProjection, file: typing.Union[java.io.File, jpype.protocol.SupportsPath], dexpi20PlantExportOptions: 'Dexpi20PlantExportOptions') -> Dexpi20GraphicalProjectionReport: ... + class Dexpi20ModelInspector: @staticmethod def inspect(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'Dexpi20ModelInspector.ModelSummary': ... @@ -117,6 +186,298 @@ class Dexpi20PlantExportOptions: def boundaryConnectionMode(self, boundaryConnectionMode: 'Dexpi20PlantExportOptions.BoundaryConnectionMode') -> 'Dexpi20PlantExportOptions.Builder': ... def build(self) -> 'Dexpi20PlantExportOptions': ... +class Dexpi20ProcessModelPackageAssessment: + @staticmethod + def assess(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'Dexpi20ProcessModelPackageAssessment.Report': ... + class AreaEvidence(java.io.Serializable): + def getActualFileSha256(self) -> java.lang.String: ... + def getAreaId(self) -> java.lang.String: ... + def getAreaName(self) -> java.lang.String: ... + def getConformanceReport(self) -> Dexpi20ConformanceAssessment.Report: ... + def getDeclaredFileSha256(self) -> java.lang.String: ... + def getEntryName(self) -> java.lang.String: ... + def isFileHashValid(self) -> bool: ... + def isSchemaAndProfileConformant(self) -> bool: ... + class ConnectionEvidence(java.io.Serializable): + def getConnectionId(self) -> java.lang.String: ... + def getConnectionType(self) -> java.lang.String: ... + def getExchangeStatus(self) -> java.lang.String: ... + def getSourceArea(self) -> java.lang.String: ... + def getSourceEquipment(self) -> java.lang.String: ... + def getSourcePort(self) -> java.lang.String: ... + def getTargetArea(self) -> java.lang.String: ... + def getTargetEquipment(self) -> java.lang.String: ... + def getTargetPort(self) -> java.lang.String: ... + def isCrossArea(self) -> bool: ... + def isRecycle(self) -> bool: ... + class Diagnostic(java.io.Serializable): + def getCode(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'Dexpi20ProcessModelPackageAssessment.Severity': ... + def getSubject(self) -> java.lang.String: ... + class Report(java.io.Serializable): + def getAreaEvidence(self) -> java.util.List['Dexpi20ProcessModelPackageAssessment.AreaEvidence']: ... + def getCanonicalFingerprint(self) -> java.lang.String: ... + def getConnectionEvidence(self) -> java.util.List['Dexpi20ProcessModelPackageAssessment.ConnectionEvidence']: ... + def getDiagnostics(self) -> java.util.List['Dexpi20ProcessModelPackageAssessment.Diagnostic']: ... + def getManifestSha256(self) -> java.lang.String: ... + def getOperatingCaseId(self) -> java.lang.String: ... + def getPackageFileSha256(self) -> java.lang.String: ... + def getPlantId(self) -> java.lang.String: ... + def getRevision(self) -> java.lang.String: ... + def isNativeWholePlantDexpiExchange(self) -> bool: ... + def isValid(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Severity(java.lang.Enum['Dexpi20ProcessModelPackageAssessment.Severity']): + INFO: typing.ClassVar['Dexpi20ProcessModelPackageAssessment.Severity'] = ... + WARNING: typing.ClassVar['Dexpi20ProcessModelPackageAssessment.Severity'] = ... + ERROR: typing.ClassVar['Dexpi20ProcessModelPackageAssessment.Severity'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Dexpi20ProcessModelPackageAssessment.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['Dexpi20ProcessModelPackageAssessment.Severity']: ... + +class Dexpi20ProcessModelPackageDocumentImpact(java.io.Serializable): + SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... + def getAffectedDesignationObjectIds(self) -> java.util.List[java.lang.String]: ... + def getAffectedDrawingIds(self) -> java.util.List[java.lang.String]: ... + def getAffectedLayoutSheetIds(self) -> java.util.List[java.lang.String]: ... + def getAffectedSheetIds(self) -> java.util.List[java.lang.String]: ... + def getApprovalStatus(self) -> java.lang.String: ... + def getBaselineDocumentFingerprint(self) -> java.lang.String: ... + def getBaselinePackageFingerprint(self) -> java.lang.String: ... + def getBaselineRevision(self) -> java.lang.String: ... + def getChangedAreaIds(self) -> java.util.List[java.lang.String]: ... + def getChangedConnectionIds(self) -> java.util.List[java.lang.String]: ... + def getChangedSemanticObjectIds(self) -> java.util.List[java.lang.String]: ... + def getDocumentSetId(self) -> java.lang.String: ... + def getPlantId(self) -> java.lang.String: ... + def getReviewScopes(self) -> java.util.List['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope']: ... + def getRevisedDocumentFingerprint(self) -> java.lang.String: ... + def getRevisedPackageFingerprint(self) -> java.lang.String: ... + def getRevisedRevision(self) -> java.lang.String: ... + def getStatus(self) -> 'Dexpi20ProcessModelPackageDocumentImpact.Status': ... + def getUnmatchedAreaIds(self) -> java.util.List[java.lang.String]: ... + def getUnmatchedConnectionIds(self) -> java.util.List[java.lang.String]: ... + def isDocumentSetContentChanged(self) -> bool: ... + def isEngineeringReviewRequired(self) -> bool: ... + def isFitnessForConstruction(self) -> bool: ... + def isNativeWholePlantDexpiExchange(self) -> bool: ... + def isProjectionComplete(self) -> bool: ... + @staticmethod + def project(dexpi20ProcessModelPackageRevisionImpact: 'Dexpi20ProcessModelPackageRevisionImpact', engineeringDiagramDocumentSet: jneqsim.process.engineering.model.EngineeringDiagramDocumentSet, engineeringDiagramDocumentSet2: jneqsim.process.engineering.model.EngineeringDiagramDocumentSet) -> 'Dexpi20ProcessModelPackageDocumentImpact': ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ReviewScope(java.lang.Enum['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope']): + DEXPI_PACKAGE: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope'] = ... + DEXPI_AREA_EXCHANGE: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope'] = ... + CONTROLLED_DOCUMENT_SET: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope'] = ... + CONTROLLED_DRAWING: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope'] = ... + CONTROLLED_SHEET: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope'] = ... + DESIGNATION_REGISTER: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope'] = ... + LAYOUT_REGISTER: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope'] = ... + OPERATING_CASE_TABLES: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope'] = ... + INFORMATION_REGISTER: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope'] = ... + ENGINEERING_STUDY: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Dexpi20ProcessModelPackageDocumentImpact.ReviewScope': ... + @staticmethod + def values() -> typing.MutableSequence['Dexpi20ProcessModelPackageDocumentImpact.ReviewScope']: ... + class Status(java.lang.Enum['Dexpi20ProcessModelPackageDocumentImpact.Status']): + UNCHANGED: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.Status'] = ... + REVIEW_REQUIRED: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.Status'] = ... + INCOMPLETE: typing.ClassVar['Dexpi20ProcessModelPackageDocumentImpact.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Dexpi20ProcessModelPackageDocumentImpact.Status': ... + @staticmethod + def values() -> typing.MutableSequence['Dexpi20ProcessModelPackageDocumentImpact.Status']: ... + +class Dexpi20ProcessModelPackageReader: + @staticmethod + def read(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'Dexpi20ProcessModelPackageReader.Snapshot': ... + class AreaDocument(java.io.Serializable): + def getAreaId(self) -> java.lang.String: ... + def getAreaName(self) -> java.lang.String: ... + def getByteLength(self) -> int: ... + def getEntryName(self) -> java.lang.String: ... + def getFileSha256(self) -> java.lang.String: ... + def getXmlBytes(self) -> typing.MutableSequence[int]: ... + def getXmlUtf8(self) -> java.lang.String: ... + class InvalidPackageException(java.io.IOException): + def getAssessmentReport(self) -> Dexpi20ProcessModelPackageAssessment.Report: ... + class Snapshot(java.io.Serializable): + def getApprovalStatus(self) -> java.lang.String: ... + def getAreaDocuments(self) -> java.util.List['Dexpi20ProcessModelPackageReader.AreaDocument']: ... + def getAssessmentReport(self) -> Dexpi20ProcessModelPackageAssessment.Report: ... + def getCanonicalFingerprint(self) -> java.lang.String: ... + def getConnectionEvidence(self) -> java.util.List[Dexpi20ProcessModelPackageAssessment.ConnectionEvidence]: ... + def getManifestSha256(self) -> java.lang.String: ... + def getOperatingCaseId(self) -> java.lang.String: ... + def getPackageFileSha256(self) -> java.lang.String: ... + def getPlantId(self) -> java.lang.String: ... + def getRevision(self) -> java.lang.String: ... + def isFitnessForConstruction(self) -> bool: ... + def isNativeWholePlantDexpiExchange(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + +class Dexpi20ProcessModelPackageRevisionImpact(java.io.Serializable): + SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... + @staticmethod + def compare(snapshot: Dexpi20ProcessModelPackageReader.Snapshot, snapshot2: Dexpi20ProcessModelPackageReader.Snapshot) -> 'Dexpi20ProcessModelPackageRevisionImpact': ... + def getApprovalStatus(self) -> java.lang.String: ... + def getAreaChanges(self) -> java.util.List['Dexpi20ProcessModelPackageRevisionImpact.AreaChange']: ... + def getBaselineCanonicalFingerprint(self) -> java.lang.String: ... + def getBaselineManifestSha256(self) -> java.lang.String: ... + def getBaselineOperatingCaseId(self) -> java.lang.String: ... + def getBaselinePackageFileSha256(self) -> java.lang.String: ... + def getBaselineRevision(self) -> java.lang.String: ... + def getChangedAreaCount(self) -> int: ... + def getChangedConnectionCount(self) -> int: ... + def getConnectionChanges(self) -> java.util.List['Dexpi20ProcessModelPackageRevisionImpact.ConnectionChange']: ... + def getPlantId(self) -> java.lang.String: ... + def getRevisedCanonicalFingerprint(self) -> java.lang.String: ... + def getRevisedManifestSha256(self) -> java.lang.String: ... + def getRevisedOperatingCaseId(self) -> java.lang.String: ... + def getRevisedPackageFileSha256(self) -> java.lang.String: ... + def getRevisedRevision(self) -> java.lang.String: ... + def getStatus(self) -> 'Dexpi20ProcessModelPackageRevisionImpact.Status': ... + def isAreaIdentitySetEquivalent(self) -> bool: ... + def isConnectionTopologyEquivalent(self) -> bool: ... + def isEngineeringReviewRequired(self) -> bool: ... + def isExactPackageMatch(self) -> bool: ... + def isFitnessForConstruction(self) -> bool: ... + def isNativeWholePlantDexpiExchange(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class AreaChange(java.io.Serializable): + def getAreaId(self) -> java.lang.String: ... + def getBaseline(self) -> 'Dexpi20ProcessModelPackageRevisionImpact.AreaState': ... + def getChangeType(self) -> 'Dexpi20ProcessModelPackageRevisionImpact.ChangeType': ... + def getRevised(self) -> 'Dexpi20ProcessModelPackageRevisionImpact.AreaState': ... + class AreaState(java.io.Serializable): + def getAreaId(self) -> java.lang.String: ... + def getAreaName(self) -> java.lang.String: ... + def getByteLength(self) -> int: ... + def getEntryName(self) -> java.lang.String: ... + def getFileSha256(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ChangeType(java.lang.Enum['Dexpi20ProcessModelPackageRevisionImpact.ChangeType']): + ADDED: typing.ClassVar['Dexpi20ProcessModelPackageRevisionImpact.ChangeType'] = ... + REMOVED: typing.ClassVar['Dexpi20ProcessModelPackageRevisionImpact.ChangeType'] = ... + MODIFIED: typing.ClassVar['Dexpi20ProcessModelPackageRevisionImpact.ChangeType'] = ... + UNCHANGED: typing.ClassVar['Dexpi20ProcessModelPackageRevisionImpact.ChangeType'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Dexpi20ProcessModelPackageRevisionImpact.ChangeType': ... + @staticmethod + def values() -> typing.MutableSequence['Dexpi20ProcessModelPackageRevisionImpact.ChangeType']: ... + class ConnectionChange(java.io.Serializable): + def getBaseline(self) -> 'Dexpi20ProcessModelPackageRevisionImpact.ConnectionState': ... + def getChangeType(self) -> 'Dexpi20ProcessModelPackageRevisionImpact.ChangeType': ... + def getConnectionId(self) -> java.lang.String: ... + def getRevised(self) -> 'Dexpi20ProcessModelPackageRevisionImpact.ConnectionState': ... + class ConnectionState(java.io.Serializable): + def getConnectionId(self) -> java.lang.String: ... + def getConnectionType(self) -> java.lang.String: ... + def getExchangeStatus(self) -> java.lang.String: ... + def getSourceArea(self) -> java.lang.String: ... + def getSourceEquipment(self) -> java.lang.String: ... + def getSourcePort(self) -> java.lang.String: ... + def getTargetArea(self) -> java.lang.String: ... + def getTargetEquipment(self) -> java.lang.String: ... + def getTargetPort(self) -> java.lang.String: ... + def isCrossArea(self) -> bool: ... + def isRecycle(self) -> bool: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Status(java.lang.Enum['Dexpi20ProcessModelPackageRevisionImpact.Status']): + UNCHANGED: typing.ClassVar['Dexpi20ProcessModelPackageRevisionImpact.Status'] = ... + CHANGED: typing.ClassVar['Dexpi20ProcessModelPackageRevisionImpact.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Dexpi20ProcessModelPackageRevisionImpact.Status': ... + @staticmethod + def values() -> typing.MutableSequence['Dexpi20ProcessModelPackageRevisionImpact.Status']: ... + +class Dexpi20ProcessModelPackageWriter: + @typing.overload + @staticmethod + def writeAndAssess(processModel: jneqsim.process.processmodel.ProcessModel, file: typing.Union[java.io.File, jpype.protocol.SupportsPath], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'Dexpi20ProcessModelPackageWriter.Report': ... + @typing.overload + @staticmethod + def writeAndAssess(processModel: jneqsim.process.processmodel.ProcessModel, 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]) -> 'Dexpi20ProcessModelPackageWriter.Report': ... + class AreaExchange(java.io.Serializable): + def getAreaId(self) -> java.lang.String: ... + def getAreaName(self) -> java.lang.String: ... + def getAssessment(self) -> 'Dexpi20ProcessTopologyAssessment.Report': ... + def getEntryName(self) -> java.lang.String: ... + def getFileSha256(self) -> java.lang.String: ... + def getProcessSystemName(self) -> java.lang.String: ... + class ConnectionRecord(java.io.Serializable): + def getConnectionId(self) -> java.lang.String: ... + def getConnectionType(self) -> java.lang.String: ... + def getExchangeStatus(self) -> java.lang.String: ... + def getSourceArea(self) -> java.lang.String: ... + def getTargetArea(self) -> java.lang.String: ... + def isCrossArea(self) -> bool: ... + class Diagnostic(java.io.Serializable): + def getCode(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'Dexpi20ProcessModelPackageWriter.Severity': ... + def getSubject(self) -> java.lang.String: ... + class Report(java.io.Serializable): + def getAreaExchanges(self) -> java.util.List['Dexpi20ProcessModelPackageWriter.AreaExchange']: ... + def getCanonicalFingerprint(self) -> java.lang.String: ... + def getConnections(self) -> java.util.List['Dexpi20ProcessModelPackageWriter.ConnectionRecord']: ... + def getDiagnostics(self) -> java.util.List['Dexpi20ProcessModelPackageWriter.Diagnostic']: ... + def getManifestSha256(self) -> java.lang.String: ... + def getOperatingCaseId(self) -> java.lang.String: ... + def getPackageFileSha256(self) -> java.lang.String: ... + def getPlantId(self) -> java.lang.String: ... + def getRevision(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + def isNativeWholePlantDexpiExchange(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toManifestJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Severity(java.lang.Enum['Dexpi20ProcessModelPackageWriter.Severity']): + INFO: typing.ClassVar['Dexpi20ProcessModelPackageWriter.Severity'] = ... + WARNING: typing.ClassVar['Dexpi20ProcessModelPackageWriter.Severity'] = ... + ERROR: typing.ClassVar['Dexpi20ProcessModelPackageWriter.Severity'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'Dexpi20ProcessModelPackageWriter.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['Dexpi20ProcessModelPackageWriter.Severity']: ... + class Dexpi20ProcessModelWriter: @typing.overload @staticmethod @@ -225,6 +586,171 @@ class Dexpi20XmlWriter: @staticmethod def writeAndAssess(processSystem: jneqsim.process.processmodel.ProcessSystem, file: typing.Union[java.io.File, jpype.protocol.SupportsPath], dexpi20PlantExportOptions: Dexpi20PlantExportOptions) -> Dexpi20ConformanceAssessment.Report: ... +class DexpiConnectionComponentInfo(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]], list4: java.util.List[typing.Union[java.lang.String, str]], list5: java.util.List[typing.Union[java.lang.String, str]], list6: java.util.List[typing.Union[java.lang.String, str]]): ... + def getConnectionCount(self) -> int: ... + def getConnectionIds(self) -> java.util.List[java.lang.String]: ... + def getEndpointCount(self) -> int: ... + def getEndpointIds(self) -> java.util.List[java.lang.String]: ... + def getId(self) -> java.lang.String: ... + def getPotentialMultiConnectionEndpointIds(self) -> java.util.List[java.lang.String]: ... + def getSinkEndpointIds(self) -> java.util.List[java.lang.String]: ... + def getSourceEndpointIds(self) -> java.util.List[java.lang.String]: ... + def getUnresolvedEndpointIds(self) -> java.util.List[java.lang.String]: ... + def hasPotentialMultiConnectionNodes(self) -> bool: ... + def hasUnresolvedEndpoints(self) -> bool: ... + +class DexpiConnectionCycleBoundaryInfo(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], direction: 'DexpiConnectionCycleBoundaryInfo.Direction', 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], string9: typing.Union[java.lang.String, str], string10: typing.Union[java.lang.String, str], string11: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], direction: 'DexpiConnectionCycleBoundaryInfo.Direction', string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], direction: 'DexpiConnectionCycleBoundaryInfo.Direction', 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], string9: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... + @typing.overload + def __init__(self, dexpiConnectionInfo: 'DexpiConnectionInfo', direction: 'DexpiConnectionCycleBoundaryInfo.Direction', dexpiConnectionEndpointInfo: 'DexpiConnectionEndpointInfo', dexpiConnectionEndpointInfo2: 'DexpiConnectionEndpointInfo'): ... + def getConnection(self) -> 'DexpiConnectionInfo': ... + def getConnectionId(self) -> java.lang.String: ... + def getDirection(self) -> 'DexpiConnectionCycleBoundaryInfo.Direction': ... + def getExternalEndpoint(self) -> 'DexpiConnectionEndpointInfo': ... + def getExternalEndpointElementName(self) -> java.lang.String: ... + def getExternalEndpointId(self) -> java.lang.String: ... + def getExternalOwnerElementName(self) -> java.lang.String: ... + def getExternalOwnerId(self) -> java.lang.String: ... + def getInternalEndpoint(self) -> 'DexpiConnectionEndpointInfo': ... + def getInternalEndpointElementName(self) -> java.lang.String: ... + def getInternalEndpointId(self) -> java.lang.String: ... + def getInternalOwnerElementName(self) -> java.lang.String: ... + def getInternalOwnerId(self) -> java.lang.String: ... + def getSegmentId(self) -> java.lang.String: ... + def getSourceId(self) -> java.lang.String: ... + def hasCompleteEvidence(self) -> bool: ... + def hasConnectionEvidence(self) -> bool: ... + def hasExternalEndpointEvidence(self) -> bool: ... + def hasInternalEndpointEvidence(self) -> bool: ... + def hasSourceId(self) -> bool: ... + def isExternalEndpointResolved(self) -> bool: ... + def isInternalEndpointResolved(self) -> bool: ... + class Direction(java.lang.Enum['DexpiConnectionCycleBoundaryInfo.Direction']): + INCOMING: typing.ClassVar['DexpiConnectionCycleBoundaryInfo.Direction'] = ... + OUTGOING: typing.ClassVar['DexpiConnectionCycleBoundaryInfo.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'DexpiConnectionCycleBoundaryInfo.Direction': ... + @staticmethod + def values() -> typing.MutableSequence['DexpiConnectionCycleBoundaryInfo.Direction']: ... + +class DexpiConnectionCycleInfo(java.io.Serializable): + @typing.overload + def __init__(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]], list2: java.util.List[typing.Union[java.lang.String, str]], list3: java.util.List[typing.Union[java.lang.String, str]], list4: java.util.List[typing.Union[java.lang.String, str]], list5: java.util.List[typing.Union[java.lang.String, str]], boolean: bool): ... + @typing.overload + def __init__(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]], list2: java.util.List[typing.Union[java.lang.String, str]], list3: java.util.List[typing.Union[java.lang.String, str]], list4: java.util.List[typing.Union[java.lang.String, str]], list5: java.util.List[DexpiConnectionCycleBoundaryInfo], list6: java.util.List[typing.Union[java.lang.String, str]], boolean: bool): ... + @typing.overload + def __init__(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]], list2: java.util.List[typing.Union[java.lang.String, str]], list3: java.util.List['DexpiConnectionInfo'], list4: java.util.List[typing.Union[java.lang.String, str]], list5: java.util.List[typing.Union[java.lang.String, str]], list6: java.util.List[DexpiConnectionCycleBoundaryInfo], list7: java.util.List[typing.Union[java.lang.String, str]], boolean: bool): ... + @typing.overload + def __init__(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]], list2: java.util.List['DexpiConnectionEndpointInfo'], list3: java.util.List[typing.Union[java.lang.String, str]], list4: java.util.List['DexpiConnectionInfo'], list5: java.util.List[typing.Union[java.lang.String, str]], list6: java.util.List[typing.Union[java.lang.String, str]], list7: java.util.List[DexpiConnectionCycleBoundaryInfo], list8: java.util.List[typing.Union[java.lang.String, str]], boolean: bool): ... + def getBoundaryConnectionCount(self) -> int: ... + def getBoundaryConnections(self) -> java.util.List[DexpiConnectionCycleBoundaryInfo]: ... + def getConnectionComponentId(self) -> java.lang.String: ... + def getConnectionCount(self) -> int: ... + def getConnectionIds(self) -> java.util.List[java.lang.String]: ... + def getConnections(self) -> java.util.List['DexpiConnectionInfo']: ... + def getEndpointCount(self) -> int: ... + def getEndpointIds(self) -> java.util.List[java.lang.String]: ... + def getEndpoints(self) -> java.util.List['DexpiConnectionEndpointInfo']: ... + def getId(self) -> java.lang.String: ... + def getIncomingBoundaryConnectionCount(self) -> int: ... + def getIncomingBoundaryConnectionIds(self) -> java.util.List[java.lang.String]: ... + def getOutgoingBoundaryConnectionCount(self) -> int: ... + def getOutgoingBoundaryConnectionIds(self) -> java.util.List[java.lang.String]: ... + def getUnresolvedEndpointIds(self) -> java.util.List[java.lang.String]: ... + def hasSelfReference(self) -> bool: ... + def hasUnresolvedEndpoints(self) -> bool: ... + +class DexpiConnectionCycleTransitionInfo(java.io.Serializable): + def __init__(self, dexpiConnectionInfo: 'DexpiConnectionInfo', dexpiConnectionEndpointInfo: 'DexpiConnectionEndpointInfo', dexpiConnectionEndpointInfo2: 'DexpiConnectionEndpointInfo', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def getConnection(self) -> 'DexpiConnectionInfo': ... + def getConnectionId(self) -> java.lang.String: ... + def getFromCycleId(self) -> java.lang.String: ... + def getFromEndpoint(self) -> 'DexpiConnectionEndpointInfo': ... + def getKind(self) -> 'DexpiConnectionCycleTransitionInfo.Kind': ... + def getToCycleId(self) -> java.lang.String: ... + def getToEndpoint(self) -> 'DexpiConnectionEndpointInfo': ... + def hasFromCycle(self) -> bool: ... + def hasToCycle(self) -> bool: ... + class Kind(java.lang.Enum['DexpiConnectionCycleTransitionInfo.Kind']): + ENTERING: typing.ClassVar['DexpiConnectionCycleTransitionInfo.Kind'] = ... + LEAVING: typing.ClassVar['DexpiConnectionCycleTransitionInfo.Kind'] = ... + BETWEEN_CYCLES: typing.ClassVar['DexpiConnectionCycleTransitionInfo.Kind'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'DexpiConnectionCycleTransitionInfo.Kind': ... + @staticmethod + def values() -> typing.MutableSequence['DexpiConnectionCycleTransitionInfo.Kind']: ... + +class DexpiConnectionEndpointInfo(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], boolean: bool, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.lang.String, str]]): ... + def getConnectionCount(self) -> int: ... + def getElementName(self) -> java.lang.String: ... + def getEndpointId(self) -> java.lang.String: ... + def getIncidenceRole(self) -> 'DexpiConnectionEndpointInfo.IncidenceRole': ... + def getIncomingConnectionCount(self) -> int: ... + def getIncomingConnectionIds(self) -> java.util.List[java.lang.String]: ... + def getOutgoingConnectionCount(self) -> int: ... + def getOutgoingConnectionIds(self) -> java.util.List[java.lang.String]: ... + def getOwnerElementName(self) -> java.lang.String: ... + def getOwnerId(self) -> java.lang.String: ... + def isPotentialMultiConnectionNode(self) -> bool: ... + def isReferencedMultipleTimes(self) -> bool: ... + def isResolved(self) -> bool: ... + class IncidenceRole(java.lang.Enum['DexpiConnectionEndpointInfo.IncidenceRole']): + SOURCE: typing.ClassVar['DexpiConnectionEndpointInfo.IncidenceRole'] = ... + SINK: typing.ClassVar['DexpiConnectionEndpointInfo.IncidenceRole'] = ... + PASS_THROUGH: typing.ClassVar['DexpiConnectionEndpointInfo.IncidenceRole'] = ... + SPLIT: typing.ClassVar['DexpiConnectionEndpointInfo.IncidenceRole'] = ... + MERGE: typing.ClassVar['DexpiConnectionEndpointInfo.IncidenceRole'] = ... + COMPLEX: typing.ClassVar['DexpiConnectionEndpointInfo.IncidenceRole'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'DexpiConnectionEndpointInfo.IncidenceRole': ... + @staticmethod + def values() -> typing.MutableSequence['DexpiConnectionEndpointInfo.IncidenceRole']: ... + +class DexpiConnectionInfo(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], string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... + @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], string8: typing.Union[java.lang.String, str], string9: typing.Union[java.lang.String, str], string10: typing.Union[java.lang.String, str], string11: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... + def getFromElementName(self) -> java.lang.String: ... + def getFromId(self) -> java.lang.String: ... + def getFromOwnerElementName(self) -> java.lang.String: ... + def getFromOwnerId(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getSegmentId(self) -> java.lang.String: ... + def getSourceId(self) -> java.lang.String: ... + def getToElementName(self) -> java.lang.String: ... + def getToId(self) -> java.lang.String: ... + def getToOwnerElementName(self) -> java.lang.String: ... + def getToOwnerId(self) -> java.lang.String: ... + def hasSourceId(self) -> bool: ... + def isFromResolved(self) -> bool: ... + def isOwnershipResolved(self) -> bool: ... + def isResolved(self) -> bool: ... + def isSelfReference(self) -> bool: ... + def isToResolved(self) -> bool: ... + class DexpiEquipmentFactory: @staticmethod def create(dexpiProcessUnit: 'DexpiProcessUnit', streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... @@ -342,6 +868,9 @@ class DexpiMetadata: SIL_LEVEL: typing.ClassVar[java.lang.String] = ... INSULATION_CODE: typing.ClassVar[java.lang.String] = ... LINE_SIZE: typing.ClassVar[java.lang.String] = ... + NOMINAL_DIAMETER_REPRESENTATION: typing.ClassVar[java.lang.String] = ... + PIPING_CLASS_CODE_ASSIGNMENT: typing.ClassVar[java.lang.String] = ... + INSULATION_TYPE_ASSIGNMENT: typing.ClassVar[java.lang.String] = ... NUMBER_OF_TRAYS: typing.ClassVar[java.lang.String] = ... FEED_TRAY: typing.ClassVar[java.lang.String] = ... DEXPI_RDL_PREFIX: typing.ClassVar[java.lang.String] = ... @@ -391,10 +920,31 @@ class DexpiSimulationBuilder: def setNamespaceAware(self, boolean: bool) -> 'DexpiSimulationBuilder': ... class DexpiStream(jneqsim.process.equipment.stream.Stream): + @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], 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], 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 getFlowInInsulationType(self) -> java.lang.String: ... + def getFlowInNominalDiameterRepresentation(self) -> java.lang.String: ... + def getFlowInPipingClassCode(self) -> java.lang.String: ... + def getFlowOutInsulationType(self) -> java.lang.String: ... + def getFlowOutNominalDiameterRepresentation(self) -> java.lang.String: ... + def getFlowOutPipingClassCode(self) -> java.lang.String: ... def getFluidCode(self) -> java.lang.String: ... + def getInsulationType(self) -> java.lang.String: ... def getLineNumber(self) -> java.lang.String: ... + def getNominalDiameterRepresentation(self) -> java.lang.String: ... + def getPipingClassCode(self) -> java.lang.String: ... + def setFlowInInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowInNominalDiameterRepresentation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowInPipingClassCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowOutInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowOutNominalDiameterRepresentation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowOutPipingClassCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setNominalDiameterRepresentation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipingClassCode(self, string: typing.Union[java.lang.String, str]) -> None: ... class DexpiStreamUtils: @staticmethod @@ -427,6 +977,37 @@ class DexpiTopologyResolver: def getTargetNozzleId(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... +class DexpiVisualQualityAssessment: + @staticmethod + def assess(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'DexpiVisualQualityAssessment.Report': ... + class Finding: + def getCode(self) -> java.lang.String: ... + def getElementId(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'DexpiVisualQualityAssessment.Severity': ... + class Report: + def getDrawingName(self) -> java.lang.String: ... + def getFindings(self) -> java.util.List['DexpiVisualQualityAssessment.Finding']: ... + def getHeightMillimetres(self) -> float: ... + def getMetrics(self) -> java.util.Map[java.lang.String, int]: ... + def getProfile(self) -> java.lang.String: ... + def getSvgSha256(self) -> java.lang.String: ... + def getWidthMillimetres(self) -> float: ... + def hasErrors(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + class Severity(java.lang.Enum['DexpiVisualQualityAssessment.Severity']): + ERROR: typing.ClassVar['DexpiVisualQualityAssessment.Severity'] = ... + WARNING: typing.ClassVar['DexpiVisualQualityAssessment.Severity'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'DexpiVisualQualityAssessment.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['DexpiVisualQualityAssessment.Severity']: ... + class DexpiXmlReader: @typing.overload @staticmethod @@ -461,6 +1042,51 @@ class DexpiXmlReader: @typing.overload @staticmethod def readInstruments(inputStream: java.io.InputStream) -> java.util.List[DexpiInstrumentInfo]: ... + @typing.overload + @staticmethod + def readWithDiagnostics(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'DexpiXmlReader.ImportResult': ... + @typing.overload + @staticmethod + def readWithDiagnostics(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> 'DexpiXmlReader.ImportResult': ... + @typing.overload + @staticmethod + def readWithDiagnostics(inputStream: java.io.InputStream) -> 'DexpiXmlReader.ImportResult': ... + @typing.overload + @staticmethod + def readWithDiagnostics(inputStream: java.io.InputStream, stream: jneqsim.process.equipment.stream.Stream) -> 'DexpiXmlReader.ImportResult': ... + class ImportDiagnostic(java.io.Serializable): + def getCode(self) -> java.lang.String: ... + def getComponentClass(self) -> java.lang.String: ... + def getElementId(self) -> java.lang.String: ... + def getElementName(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'DexpiXmlReader.ImportDiagnosticSeverity': ... + class ImportDiagnosticSeverity(java.lang.Enum['DexpiXmlReader.ImportDiagnosticSeverity']): + INFO: typing.ClassVar['DexpiXmlReader.ImportDiagnosticSeverity'] = ... + WARNING: typing.ClassVar['DexpiXmlReader.ImportDiagnosticSeverity'] = ... + ERROR: typing.ClassVar['DexpiXmlReader.ImportDiagnosticSeverity'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'DexpiXmlReader.ImportDiagnosticSeverity': ... + @staticmethod + def values() -> typing.MutableSequence['DexpiXmlReader.ImportDiagnosticSeverity']: ... + class ImportResult(java.io.Serializable): + def getConnectionComponents(self) -> java.util.List[DexpiConnectionComponentInfo]: ... + def getConnectionCycleTransitions(self) -> java.util.List[DexpiConnectionCycleTransitionInfo]: ... + def getConnectionCycles(self) -> java.util.List[DexpiConnectionCycleInfo]: ... + def getConnectionEndpoints(self) -> java.util.List[DexpiConnectionEndpointInfo]: ... + def getConnections(self) -> java.util.List[DexpiConnectionInfo]: ... + def getDiagnostics(self) -> java.util.List['DexpiXmlReader.ImportDiagnostic']: ... + def getInstruments(self) -> java.util.List[DexpiInstrumentInfo]: ... + def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... + def hasErrors(self) -> bool: ... + def hasLosses(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class DexpiXmlReaderException(java.lang.Exception): @typing.overload @@ -468,6 +1094,14 @@ class DexpiXmlReaderException(java.lang.Exception): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str], throwable: java.lang.Throwable): ... +class DexpiXmlSvgRenderer: + @typing.overload + @staticmethod + def render(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> java.lang.String: ... + @typing.overload + @staticmethod + def render(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], file2: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + class DexpiXmlWriter: @staticmethod def getSchemaVersion() -> 'DexpiXmlWriter.DexpiSchemaVersion': ... @@ -530,14 +1164,28 @@ class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.dexpi")``. Dexpi20ConformanceAssessment: typing.Type[Dexpi20ConformanceAssessment] + Dexpi20GraphicalProjectionAssessment: typing.Type[Dexpi20GraphicalProjectionAssessment] + Dexpi20GraphicalProjectionReport: typing.Type[Dexpi20GraphicalProjectionReport] + Dexpi20GraphicalProjectionWriter: typing.Type[Dexpi20GraphicalProjectionWriter] Dexpi20ModelInspector: typing.Type[Dexpi20ModelInspector] Dexpi20PlantExportMetadata: typing.Type[Dexpi20PlantExportMetadata] Dexpi20PlantExportOptions: typing.Type[Dexpi20PlantExportOptions] + Dexpi20ProcessModelPackageAssessment: typing.Type[Dexpi20ProcessModelPackageAssessment] + Dexpi20ProcessModelPackageDocumentImpact: typing.Type[Dexpi20ProcessModelPackageDocumentImpact] + Dexpi20ProcessModelPackageReader: typing.Type[Dexpi20ProcessModelPackageReader] + Dexpi20ProcessModelPackageRevisionImpact: typing.Type[Dexpi20ProcessModelPackageRevisionImpact] + Dexpi20ProcessModelPackageWriter: typing.Type[Dexpi20ProcessModelPackageWriter] Dexpi20ProcessModelWriter: typing.Type[Dexpi20ProcessModelWriter] Dexpi20ProcessTopologyAssessment: typing.Type[Dexpi20ProcessTopologyAssessment] Dexpi20SemanticValidator: typing.Type[Dexpi20SemanticValidator] Dexpi20XmlValidator: typing.Type[Dexpi20XmlValidator] Dexpi20XmlWriter: typing.Type[Dexpi20XmlWriter] + DexpiConnectionComponentInfo: typing.Type[DexpiConnectionComponentInfo] + DexpiConnectionCycleBoundaryInfo: typing.Type[DexpiConnectionCycleBoundaryInfo] + DexpiConnectionCycleInfo: typing.Type[DexpiConnectionCycleInfo] + DexpiConnectionCycleTransitionInfo: typing.Type[DexpiConnectionCycleTransitionInfo] + DexpiConnectionEndpointInfo: typing.Type[DexpiConnectionEndpointInfo] + DexpiConnectionInfo: typing.Type[DexpiConnectionInfo] DexpiEquipmentFactory: typing.Type[DexpiEquipmentFactory] DexpiInstrumentInfo: typing.Type[DexpiInstrumentInfo] DexpiLayoutConfig: typing.Type[DexpiLayoutConfig] @@ -549,6 +1197,8 @@ class __module_protocol__(Protocol): DexpiStream: typing.Type[DexpiStream] DexpiStreamUtils: typing.Type[DexpiStreamUtils] DexpiTopologyResolver: typing.Type[DexpiTopologyResolver] + DexpiVisualQualityAssessment: typing.Type[DexpiVisualQualityAssessment] DexpiXmlReader: typing.Type[DexpiXmlReader] DexpiXmlReaderException: typing.Type[DexpiXmlReaderException] + DexpiXmlSvgRenderer: typing.Type[DexpiXmlSvgRenderer] DexpiXmlWriter: typing.Type[DexpiXmlWriter] diff --git a/src/jneqsim-stubs/process/processmodel/diagram/__init__.pyi b/src/jneqsim-stubs/process/processmodel/diagram/__init__.pyi index a1327923..bad57adc 100644 --- a/src/jneqsim-stubs/process/processmodel/diagram/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/diagram/__init__.pyi @@ -95,6 +95,173 @@ class DiagramStyle(java.lang.Enum['DiagramStyle']): @staticmethod def values() -> typing.MutableSequence['DiagramStyle']: ... +class EngineeringDiagramDelivery: + @typing.overload + @staticmethod + def deliver(processModel: jneqsim.process.processmodel.ProcessModel, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], request: 'EngineeringDiagramDelivery.Request') -> 'EngineeringDiagramDelivery.Report': ... + @typing.overload + @staticmethod + def deliver(processSystem: jneqsim.process.processmodel.ProcessSystem, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], request: 'EngineeringDiagramDelivery.Request') -> 'EngineeringDiagramDelivery.Report': ... + class Artifact: + def getMediaType(self) -> java.lang.String: ... + def getRelativePath(self) -> java.lang.String: ... + def getSha256(self) -> java.lang.String: ... + def getSizeBytes(self) -> int: ... + class Report: + def getArtifacts(self) -> java.util.Map[java.lang.String, 'EngineeringDiagramDelivery.Artifact']: ... + def getDirectory(self) -> java.nio.file.Path: ... + def getDocumentSet(self) -> jneqsim.process.engineering.model.EngineeringDiagramDocumentSet: ... + def getFingerprint(self) -> java.lang.String: ... + def getRendering(self) -> 'NativeEngineeringDiagramRenderer.Result': ... + def isComplete(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Request: + @staticmethod + def builder(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], contentProfile: jneqsim.process.engineering.model.EngineeringDiagramDocumentSet.ContentProfile) -> 'EngineeringDiagramDelivery.Request.Builder': ... + class Builder: + def build(self) -> 'EngineeringDiagramDelivery.Request': ... + def conventionRegister(self, engineeringDiagramConventionRegister: jneqsim.process.engineering.model.EngineeringDiagramConventionRegister) -> 'EngineeringDiagramDelivery.Request.Builder': ... + def designationRegister(self, engineeringDiagramDesignationRegister: jneqsim.process.engineering.model.EngineeringDiagramDesignationRegister) -> 'EngineeringDiagramDelivery.Request.Builder': ... + def layoutRegister(self, engineeringDiagramLayoutRegister: jneqsim.process.engineering.model.EngineeringDiagramLayoutRegister) -> 'EngineeringDiagramDelivery.Request.Builder': ... + def operatingCaseId(self, string: typing.Union[java.lang.String, str]) -> 'EngineeringDiagramDelivery.Request.Builder': ... + def routingMode(self, routingMode: 'NativeEngineeringDiagramRenderer.RoutingMode') -> 'EngineeringDiagramDelivery.Request.Builder': ... + def sheetFormat(self, sheetFormat: 'NativeEngineeringDiagramRenderer.SheetFormat') -> 'EngineeringDiagramDelivery.Request.Builder': ... + +class EngineeringDiagramDeliveryAssessment: + @staticmethod + def assess(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'EngineeringDiagramDeliveryAssessment.Report': ... + class ArtifactEvidence(java.io.Serializable): + def getMediaType(self) -> java.lang.String: ... + def getRelativePath(self) -> java.lang.String: ... + def getSha256(self) -> java.lang.String: ... + def getSizeBytes(self) -> int: ... + class Diagnostic(java.io.Serializable): + def getCode(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'EngineeringDiagramDeliveryAssessment.Severity': ... + def getSubject(self) -> java.lang.String: ... + class Report(java.io.Serializable): + def getArtifacts(self) -> java.util.Map[java.lang.String, 'EngineeringDiagramDeliveryAssessment.ArtifactEvidence']: ... + def getDiagnostics(self) -> java.util.List['EngineeringDiagramDeliveryAssessment.Diagnostic']: ... + def getDirectory(self) -> java.nio.file.Path: ... + def getFingerprint(self) -> java.lang.String: ... + def getManifestFingerprint(self) -> java.lang.String: ... + def getManifestSha256(self) -> java.lang.String: ... + def getPlantId(self) -> java.lang.String: ... + def getRevision(self) -> java.lang.String: ... + def getSourceScope(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Severity(java.lang.Enum['EngineeringDiagramDeliveryAssessment.Severity']): + INFO: typing.ClassVar['EngineeringDiagramDeliveryAssessment.Severity'] = ... + WARNING: typing.ClassVar['EngineeringDiagramDeliveryAssessment.Severity'] = ... + ERROR: typing.ClassVar['EngineeringDiagramDeliveryAssessment.Severity'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EngineeringDiagramDeliveryAssessment.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['EngineeringDiagramDeliveryAssessment.Severity']: ... + +class EngineeringDiagramDeliveryComparison: + @typing.overload + @staticmethod + def compare(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], path2: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'EngineeringDiagramDeliveryComparison.Report': ... + @typing.overload + @staticmethod + def compare(report: EngineeringDiagramDeliveryAssessment.Report, report2: EngineeringDiagramDeliveryAssessment.Report) -> 'EngineeringDiagramDeliveryComparison.Report': ... + class ArtifactChange(java.io.Serializable): + def getBaseline(self) -> EngineeringDiagramDeliveryAssessment.ArtifactEvidence: ... + def getChangeType(self) -> 'EngineeringDiagramDeliveryComparison.ChangeType': ... + def getRelativePath(self) -> java.lang.String: ... + def getRevised(self) -> EngineeringDiagramDeliveryAssessment.ArtifactEvidence: ... + class ChangeType(java.lang.Enum['EngineeringDiagramDeliveryComparison.ChangeType']): + ADDED: typing.ClassVar['EngineeringDiagramDeliveryComparison.ChangeType'] = ... + REMOVED: typing.ClassVar['EngineeringDiagramDeliveryComparison.ChangeType'] = ... + MODIFIED: typing.ClassVar['EngineeringDiagramDeliveryComparison.ChangeType'] = ... + UNCHANGED: typing.ClassVar['EngineeringDiagramDeliveryComparison.ChangeType'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EngineeringDiagramDeliveryComparison.ChangeType': ... + @staticmethod + def values() -> typing.MutableSequence['EngineeringDiagramDeliveryComparison.ChangeType']: ... + class Diagnostic(java.io.Serializable): + def getCode(self) -> java.lang.String: ... + def getMessage(self) -> java.lang.String: ... + def getSeverity(self) -> 'EngineeringDiagramDeliveryComparison.Severity': ... + def getSubject(self) -> java.lang.String: ... + class Report(java.io.Serializable): + def getArtifactChanges(self) -> java.util.List['EngineeringDiagramDeliveryComparison.ArtifactChange']: ... + def getBaselineManifestFingerprint(self) -> java.lang.String: ... + def getBaselineManifestSha256(self) -> java.lang.String: ... + def getBaselineRevision(self) -> java.lang.String: ... + def getChangedArtifactPaths(self) -> java.util.List[java.lang.String]: ... + def getDiagnostics(self) -> java.util.List['EngineeringDiagramDeliveryComparison.Diagnostic']: ... + def getFingerprint(self) -> java.lang.String: ... + def getPlantId(self) -> java.lang.String: ... + def getReviewScopes(self) -> java.util.List['EngineeringDiagramDeliveryComparison.ReviewScope']: ... + def getRevisedManifestFingerprint(self) -> java.lang.String: ... + def getRevisedManifestSha256(self) -> java.lang.String: ... + def getRevisedRevision(self) -> java.lang.String: ... + def getSourceScope(self) -> java.lang.String: ... + def getStatus(self) -> 'EngineeringDiagramDeliveryComparison.Status': ... + def isComplete(self) -> bool: ... + def isEngineeringReviewRequired(self) -> bool: ... + def toJson(self) -> java.lang.String: ... + def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ReviewScope(java.lang.Enum['EngineeringDiagramDeliveryComparison.ReviewScope']): + CONTROLLED_DOCUMENT_SET: typing.ClassVar['EngineeringDiagramDeliveryComparison.ReviewScope'] = ... + DELIVERY_MANIFEST: typing.ClassVar['EngineeringDiagramDeliveryComparison.ReviewScope'] = ... + DEXPI_PROCESS_EXCHANGE: typing.ClassVar['EngineeringDiagramDeliveryComparison.ReviewScope'] = ... + DEXPI_PROCESS_MODEL_PACKAGE: typing.ClassVar['EngineeringDiagramDeliveryComparison.ReviewScope'] = ... + ENGINEERING_REVIEW: typing.ClassVar['EngineeringDiagramDeliveryComparison.ReviewScope'] = ... + NATIVE_PDF: typing.ClassVar['EngineeringDiagramDeliveryComparison.ReviewScope'] = ... + NATIVE_SVG: typing.ClassVar['EngineeringDiagramDeliveryComparison.ReviewScope'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EngineeringDiagramDeliveryComparison.ReviewScope': ... + @staticmethod + def values() -> typing.MutableSequence['EngineeringDiagramDeliveryComparison.ReviewScope']: ... + class Severity(java.lang.Enum['EngineeringDiagramDeliveryComparison.Severity']): + INFO: typing.ClassVar['EngineeringDiagramDeliveryComparison.Severity'] = ... + WARNING: typing.ClassVar['EngineeringDiagramDeliveryComparison.Severity'] = ... + ERROR: typing.ClassVar['EngineeringDiagramDeliveryComparison.Severity'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EngineeringDiagramDeliveryComparison.Severity': ... + @staticmethod + def values() -> typing.MutableSequence['EngineeringDiagramDeliveryComparison.Severity']: ... + class Status(java.lang.Enum['EngineeringDiagramDeliveryComparison.Status']): + IDENTICAL: typing.ClassVar['EngineeringDiagramDeliveryComparison.Status'] = ... + CHANGED: typing.ClassVar['EngineeringDiagramDeliveryComparison.Status'] = ... + REVISION_REUSE: typing.ClassVar['EngineeringDiagramDeliveryComparison.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'EngineeringDiagramDeliveryComparison.Status': ... + @staticmethod + def values() -> typing.MutableSequence['EngineeringDiagramDeliveryComparison.Status']: ... + class EquipmentRole(java.lang.Enum['EquipmentRole']): GAS: typing.ClassVar['EquipmentRole'] = ... LIQUID: typing.ClassVar['EquipmentRole'] = ... @@ -407,6 +574,9 @@ class __module_protocol__(Protocol): DexpiDiagramBridge: typing.Type[DexpiDiagramBridge] DiagramDetailLevel: typing.Type[DiagramDetailLevel] DiagramStyle: typing.Type[DiagramStyle] + EngineeringDiagramDelivery: typing.Type[EngineeringDiagramDelivery] + EngineeringDiagramDeliveryAssessment: typing.Type[EngineeringDiagramDeliveryAssessment] + EngineeringDiagramDeliveryComparison: typing.Type[EngineeringDiagramDeliveryComparison] EquipmentRole: typing.Type[EquipmentRole] EquipmentVisualStyle: typing.Type[EquipmentVisualStyle] NativeEngineeringDiagramRenderer: typing.Type[NativeEngineeringDiagramRenderer] diff --git a/src/jneqsim-stubs/process/util/monitor/__init__.pyi b/src/jneqsim-stubs/process/util/monitor/__init__.pyi index 8107c45c..4271afbe 100644 --- a/src/jneqsim-stubs/process/util/monitor/__init__.pyi +++ b/src/jneqsim-stubs/process/util/monitor/__init__.pyi @@ -346,6 +346,59 @@ class ThreePhaseSeparatorResponse(BaseResponse): class TurboExpanderCompressorResponse(BaseResponse): def __init__(self, turboExpanderCompressor: jneqsim.process.equipment.expander.TurboExpanderCompressor): ... +class TwoFluidPipeResponse(BaseResponse): + simulationTimeSeconds: float = ... + inletPressureBara: float = ... + outletPressureBara: float = ... + pressureDropBar: float = ... + inletTemperatureC: float = ... + outletTemperatureC: float = ... + averageLiquidHoldup: float = ... + dominantFlowRegime: java.lang.String = ... + liquidInventoryM3: float = ... + averageMixtureDensityKgM3: float = ... + maximumMixtureVelocityMS: float = ... + erosionalVelocityMargin: float = ... + hydrateRiskSectionCount: int = ... + distanceToHydrateRiskM: float = ... + hasWaxRisk: bool = ... + outletSlugCount: int = ... + totalSlugVolumeAtOutletM3: float = ... + maxSlugLengthAtOutletM: float = ... + maxSlugVolumeAtOutletM3: float = ... + profile: 'TwoFluidPipeResponse.Profile' = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe): ... + def applyConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> None: ... + class Profile: + positionM: typing.MutableSequence[float] = ... + pressureBara: typing.MutableSequence[float] = ... + temperatureC: typing.MutableSequence[float] = ... + liquidHoldup: typing.MutableSequence[float] = ... + waterCut: typing.MutableSequence[float] = ... + oilHoldup: typing.MutableSequence[float] = ... + waterHoldup: typing.MutableSequence[float] = ... + gasVelocityMS: typing.MutableSequence[float] = ... + liquidVelocityMS: typing.MutableSequence[float] = ... + oilVelocityMS: typing.MutableSequence[float] = ... + waterVelocityMS: typing.MutableSequence[float] = ... + flowRegime: typing.MutableSequence[java.lang.String] = ... + oilWaterFlowRegime: typing.MutableSequence[java.lang.String] = ... + waterWetting: typing.MutableSequence[bool] = ... + waterDropoutRisk: typing.MutableSequence[bool] = ... + entrainmentFraction: typing.MutableSequence[float] = ... + entrainedDropletDiameterM: typing.MutableSequence[float] = ... + inclinedSectionGasCarryoverNumber: typing.MutableSequence[float] = ... + inclinedSectionLiquidFallbackPotential: typing.MutableSequence[bool] = ... + severeSluggingNumber: typing.MutableSequence[float] = ... + severeSlugPotential: typing.MutableSequence[bool] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe): ... + class ValveResponse(BaseResponse): data: java.util.HashMap = ... def __init__(self, valveInterface: jneqsim.process.equipment.valve.ValveInterface): ... @@ -384,6 +437,7 @@ class __module_protocol__(Protocol): TankResponse: typing.Type[TankResponse] ThreePhaseSeparatorResponse: typing.Type[ThreePhaseSeparatorResponse] TurboExpanderCompressorResponse: typing.Type[TurboExpanderCompressorResponse] + TwoFluidPipeResponse: typing.Type[TwoFluidPipeResponse] Value: typing.Type[Value] ValveResponse: typing.Type[ValveResponse] WellAllocatorResponse: typing.Type[WellAllocatorResponse] diff --git a/src/jneqsim-stubs/process/util/optimizer/__init__.pyi b/src/jneqsim-stubs/process/util/optimizer/__init__.pyi index bfa73228..b91b7b1f 100644 --- a/src/jneqsim-stubs/process/util/optimizer/__init__.pyi +++ b/src/jneqsim-stubs/process/util/optimizer/__init__.pyi @@ -13,6 +13,7 @@ import java.util import java.util.function import jpype import jpype.protocol +import neqsim import jneqsim.process.equipment import jneqsim.process.equipment.capacity import jneqsim.process.equipment.compressor @@ -1272,6 +1273,308 @@ class ParetoSolution(java.io.Serializable, java.lang.Comparable['ParetoSolution' 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 PlantConstraintDefinition(java.io.Serializable, java.lang.Comparable['PlantConstraintDefinition']): + @staticmethod + def builder(string: typing.Union[java.lang.String, str], plantConstraintScope: 'PlantConstraintScope') -> 'PlantConstraintDefinition.Builder': ... + def compareTo(self, plantConstraintDefinition: 'PlantConstraintDefinition') -> int: ... + def getAggregationPolicy(self) -> 'PlantConstraintDefinition.AggregationPolicy': ... + def getBasis(self) -> java.lang.String: ... + def getCalculationMethod(self) -> java.lang.String: ... + def getCategory(self) -> 'PlantConstraintDefinition.Category': ... + def getConfidence(self) -> float: ... + def getDescription(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getLimitDirection(self) -> 'PlantConstraintDefinition.LimitDirection': ... + def getOwner(self) -> java.lang.String: ... + def getParticipants(self) -> java.util.List['PlantConstraintParticipant']: ... + def getProvenance(self) -> java.lang.String: ... + def getQualifiedId(self) -> java.lang.String: ... + def getReference(self) -> java.lang.String: ... + def getRegistrationStatus(self) -> 'PlantConstraintDefinition.RegistrationStatus': ... + def getScope(self) -> 'PlantConstraintScope': ... + def getSeverity(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity: ... + def getUnit(self) -> java.lang.String: ... + def getValidityMaximum(self) -> float: ... + def getValidityMinimum(self) -> float: ... + def hasConfidence(self) -> bool: ... + def hasValidityRange(self) -> bool: ... + def isEnabled(self) -> bool: ... + class AggregationPolicy(java.lang.Enum['PlantConstraintDefinition.AggregationPolicy']): + DIRECT: typing.ClassVar['PlantConstraintDefinition.AggregationPolicy'] = ... + SUM: typing.ClassVar['PlantConstraintDefinition.AggregationPolicy'] = ... + MAXIMUM: typing.ClassVar['PlantConstraintDefinition.AggregationPolicy'] = ... + MINIMUM: typing.ClassVar['PlantConstraintDefinition.AggregationPolicy'] = ... + SHARED_BUDGET: typing.ClassVar['PlantConstraintDefinition.AggregationPolicy'] = ... + COMMON_SETPOINT: typing.ClassVar['PlantConstraintDefinition.AggregationPolicy'] = ... + RATE_BASIS_CONVERSION: typing.ClassVar['PlantConstraintDefinition.AggregationPolicy'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PlantConstraintDefinition.AggregationPolicy': ... + @staticmethod + def values() -> typing.MutableSequence['PlantConstraintDefinition.AggregationPolicy']: ... + class Builder: + def aggregationPolicy(self, aggregationPolicy: 'PlantConstraintDefinition.AggregationPolicy') -> 'PlantConstraintDefinition.Builder': ... + def basis(self, string: typing.Union[java.lang.String, str]) -> 'PlantConstraintDefinition.Builder': ... + def build(self) -> 'PlantConstraintDefinition': ... + def calculationMethod(self, string: typing.Union[java.lang.String, str]) -> 'PlantConstraintDefinition.Builder': ... + def category(self, category: 'PlantConstraintDefinition.Category') -> 'PlantConstraintDefinition.Builder': ... + def confidence(self, double: float) -> 'PlantConstraintDefinition.Builder': ... + def description(self, string: typing.Union[java.lang.String, str]) -> 'PlantConstraintDefinition.Builder': ... + def enabled(self, boolean: bool) -> 'PlantConstraintDefinition.Builder': ... + def limitDirection(self, limitDirection: 'PlantConstraintDefinition.LimitDirection') -> 'PlantConstraintDefinition.Builder': ... + def owner(self, string: typing.Union[java.lang.String, str]) -> 'PlantConstraintDefinition.Builder': ... + def participant(self, plantConstraintParticipant: 'PlantConstraintParticipant') -> 'PlantConstraintDefinition.Builder': ... + def provenance(self, string: typing.Union[java.lang.String, str]) -> 'PlantConstraintDefinition.Builder': ... + def reference(self, string: typing.Union[java.lang.String, str]) -> 'PlantConstraintDefinition.Builder': ... + def severity(self, constraintSeverity: jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity) -> 'PlantConstraintDefinition.Builder': ... + def unit(self, string: typing.Union[java.lang.String, str]) -> 'PlantConstraintDefinition.Builder': ... + def validityRange(self, double: float, double2: float) -> 'PlantConstraintDefinition.Builder': ... + class Category(java.lang.Enum['PlantConstraintDefinition.Category']): + PHYSICAL: typing.ClassVar['PlantConstraintDefinition.Category'] = ... + DESIGN: typing.ClassVar['PlantConstraintDefinition.Category'] = ... + OPERATING: typing.ClassVar['PlantConstraintDefinition.Category'] = ... + QUALITY: typing.ClassVar['PlantConstraintDefinition.Category'] = ... + ENVIRONMENTAL: typing.ClassVar['PlantConstraintDefinition.Category'] = ... + COMMERCIAL: typing.ClassVar['PlantConstraintDefinition.Category'] = ... + SCREENING: typing.ClassVar['PlantConstraintDefinition.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PlantConstraintDefinition.Category': ... + @staticmethod + def values() -> typing.MutableSequence['PlantConstraintDefinition.Category']: ... + class LimitDirection(java.lang.Enum['PlantConstraintDefinition.LimitDirection']): + MAXIMUM: typing.ClassVar['PlantConstraintDefinition.LimitDirection'] = ... + MINIMUM: typing.ClassVar['PlantConstraintDefinition.LimitDirection'] = ... + RANGE: typing.ClassVar['PlantConstraintDefinition.LimitDirection'] = ... + EQUALITY: typing.ClassVar['PlantConstraintDefinition.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PlantConstraintDefinition.LimitDirection': ... + @staticmethod + def values() -> typing.MutableSequence['PlantConstraintDefinition.LimitDirection']: ... + class RegistrationStatus(java.lang.Enum['PlantConstraintDefinition.RegistrationStatus']): + REGISTERED: typing.ClassVar['PlantConstraintDefinition.RegistrationStatus'] = ... + DISABLED: typing.ClassVar['PlantConstraintDefinition.RegistrationStatus'] = ... + INCOMPLETE_BASIS: typing.ClassVar['PlantConstraintDefinition.RegistrationStatus'] = ... + DISABLED_INCOMPLETE_BASIS: typing.ClassVar['PlantConstraintDefinition.RegistrationStatus'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PlantConstraintDefinition.RegistrationStatus': ... + @staticmethod + def values() -> typing.MutableSequence['PlantConstraintDefinition.RegistrationStatus']: ... + +class PlantConstraintEvidence(java.io.Serializable, java.lang.Comparable['PlantConstraintEvidence']): + def compareTo(self, plantConstraintEvidence: 'PlantConstraintEvidence') -> int: ... + def getCoverageStatus(self) -> 'PlantConstraintEvidence.CoverageStatus': ... + def getDefinition(self) -> PlantConstraintDefinition: ... + def getDiagnostic(self) -> java.lang.String: ... + def getNormalizedResidual(self) -> float: ... + def getNormalizedUtilization(self) -> float: ... + def getOperatingStatus(self) -> 'PlantConstraintEvidence.OperatingStatus': ... + def getQualifiedConstraintId(self) -> java.lang.String: ... + def getSample(self) -> 'PlantConstraintSample': ... + def hasAvailableEvidence(self) -> bool: ... + def isFeasible(self) -> bool: ... + def isHardConstraint(self) -> bool: ... + class CoverageStatus(java.lang.Enum['PlantConstraintEvidence.CoverageStatus']): + AVAILABLE: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + DISABLED: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + INCOMPLETE_REGISTRATION: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + MISSING_SAMPLE: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + MISSING_VALUE: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + NOT_CALCULABLE: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + NON_FINITE_VALUE: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + OUTSIDE_VALIDITY: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + INCOMPLETE_CONVERGENCE: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + STALE: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + CALCULATION_ID_MISMATCH: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + METADATA_MISMATCH: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + EXCEPTION: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + INVALID_EVIDENCE: typing.ClassVar['PlantConstraintEvidence.CoverageStatus'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PlantConstraintEvidence.CoverageStatus': ... + @staticmethod + def values() -> typing.MutableSequence['PlantConstraintEvidence.CoverageStatus']: ... + class OperatingStatus(java.lang.Enum['PlantConstraintEvidence.OperatingStatus']): + DISABLED: typing.ClassVar['PlantConstraintEvidence.OperatingStatus'] = ... + UNAVAILABLE: typing.ClassVar['PlantConstraintEvidence.OperatingStatus'] = ... + INVALID: typing.ClassVar['PlantConstraintEvidence.OperatingStatus'] = ... + WITHIN_LIMIT: typing.ClassVar['PlantConstraintEvidence.OperatingStatus'] = ... + NEAR_LIMIT: typing.ClassVar['PlantConstraintEvidence.OperatingStatus'] = ... + ACTIVE_LIMIT: typing.ClassVar['PlantConstraintEvidence.OperatingStatus'] = ... + VIOLATED: typing.ClassVar['PlantConstraintEvidence.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PlantConstraintEvidence.OperatingStatus': ... + @staticmethod + def values() -> typing.MutableSequence['PlantConstraintEvidence.OperatingStatus']: ... + +class PlantConstraintParticipant(java.io.Serializable, java.lang.Comparable['PlantConstraintParticipant']): + def compareTo(self, plantConstraintParticipant: 'PlantConstraintParticipant') -> int: ... + def convertToTarget(self, double: float) -> float: ... + @staticmethod + def converted(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) -> 'PlantConstraintParticipant': ... + @staticmethod + def direct(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'PlantConstraintParticipant': ... + def getBasis(self) -> java.lang.String: ... + def getConversionFactor(self) -> float: ... + def getConversionOffset(self) -> float: ... + def getSourceId(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def isConversionExplicit(self) -> bool: ... + +class PlantConstraintRegistry(java.io.Serializable): + def __init__(self): ... + def contains(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def get(self, string: typing.Union[java.lang.String, str]) -> PlantConstraintDefinition: ... + @typing.overload + def getDefinitions(self) -> java.util.List[PlantConstraintDefinition]: ... + @typing.overload + def getDefinitions(self, plantConstraintScope: 'PlantConstraintScope') -> java.util.List[PlantConstraintDefinition]: ... + def getIdentityDigest(self) -> java.lang.String: ... + def getSchemaVersion(self) -> java.lang.String: ... + def register(self, plantConstraintDefinition: PlantConstraintDefinition) -> 'PlantConstraintRegistry': ... + def registerEquipmentConstraint(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], category: PlantConstraintDefinition.Category, string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> PlantConstraintDefinition: ... + def size(self) -> int: ... + +class PlantConstraintSample(java.io.Serializable): + @staticmethod + def builder(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'PlantConstraintSample.Builder': ... + @staticmethod + def fromInstalledEquipmentEvidence(plantConstraintDefinition: PlantConstraintDefinition, string: typing.Union[java.lang.String, str], installedEquipmentCapacityEvidence: InstalledEquipmentCapacityEvidence) -> 'PlantConstraintSample': ... + @staticmethod + def fromProcessBoundaryEvidence(plantConstraintDefinition: PlantConstraintDefinition, string: typing.Union[java.lang.String, str], processBoundaryConstraintEvidence: 'ProcessBoundaryConstraintEvidence') -> 'PlantConstraintSample': ... + def getApplicableLimit(self) -> float: ... + def getBasis(self) -> java.lang.String: ... + def getCalculationId(self) -> java.lang.String: ... + def getDiagnostic(self) -> java.lang.String: ... + def getNormalizedResidual(self) -> float: ... + def getNormalizedUtilization(self) -> float: ... + def getPhysicalMargin(self) -> float: ... + def getProvenance(self) -> java.lang.String: ... + def getQualifiedConstraintId(self) -> java.lang.String: ... + def getRequiredRelief(self) -> float: ... + def getSampledValue(self) -> float: ... + def getStatus(self) -> 'PlantConstraintSample.SampleStatus': ... + def getUnit(self) -> java.lang.String: ... + class Builder: + def basis(self, string: typing.Union[java.lang.String, str]) -> 'PlantConstraintSample.Builder': ... + def build(self) -> 'PlantConstraintSample': ... + def diagnostic(self, string: typing.Union[java.lang.String, str]) -> 'PlantConstraintSample.Builder': ... + def normalized(self, double: float, double2: float) -> 'PlantConstraintSample.Builder': ... + def physical(self, double: float, double2: float) -> 'PlantConstraintSample.Builder': ... + def provenance(self, string: typing.Union[java.lang.String, str]) -> 'PlantConstraintSample.Builder': ... + def status(self, sampleStatus: 'PlantConstraintSample.SampleStatus') -> 'PlantConstraintSample.Builder': ... + def unit(self, string: typing.Union[java.lang.String, str]) -> 'PlantConstraintSample.Builder': ... + def values(self, double: float, double2: float) -> 'PlantConstraintSample.Builder': ... + class SampleStatus(java.lang.Enum['PlantConstraintSample.SampleStatus']): + AVAILABLE: typing.ClassVar['PlantConstraintSample.SampleStatus'] = ... + MISSING_VALUE: typing.ClassVar['PlantConstraintSample.SampleStatus'] = ... + NOT_CALCULABLE: typing.ClassVar['PlantConstraintSample.SampleStatus'] = ... + NON_FINITE_VALUE: typing.ClassVar['PlantConstraintSample.SampleStatus'] = ... + OUTSIDE_VALIDITY: typing.ClassVar['PlantConstraintSample.SampleStatus'] = ... + INCOMPLETE_CONVERGENCE: typing.ClassVar['PlantConstraintSample.SampleStatus'] = ... + STALE: typing.ClassVar['PlantConstraintSample.SampleStatus'] = ... + METADATA_MISMATCH: typing.ClassVar['PlantConstraintSample.SampleStatus'] = ... + EXCEPTION: typing.ClassVar['PlantConstraintSample.SampleStatus'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PlantConstraintSample.SampleStatus': ... + @staticmethod + def values() -> typing.MutableSequence['PlantConstraintSample.SampleStatus']: ... + +class PlantConstraintScope(java.io.Serializable, java.lang.Comparable['PlantConstraintScope']): + @staticmethod + def area(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'PlantConstraintScope': ... + def compareTo(self, plantConstraintScope: 'PlantConstraintScope') -> int: ... + @staticmethod + def coupledGroup(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'PlantConstraintScope': ... + def equals(self, object: typing.Any) -> bool: ... + @staticmethod + def equipment(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'PlantConstraintScope': ... + def getAreaName(self) -> java.lang.String: ... + def getModelName(self) -> java.lang.String: ... + def getStableId(self) -> java.lang.String: ... + def getSubjectName(self) -> java.lang.String: ... + def getType(self) -> 'PlantConstraintScope.Type': ... + def hashCode(self) -> int: ... + @staticmethod + def model(string: typing.Union[java.lang.String, str]) -> 'PlantConstraintScope': ... + @staticmethod + def sharedResource(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'PlantConstraintScope': ... + @staticmethod + def stream(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'PlantConstraintScope': ... + def toString(self) -> java.lang.String: ... + class Type(java.lang.Enum['PlantConstraintScope.Type']): + EQUIPMENT: typing.ClassVar['PlantConstraintScope.Type'] = ... + STREAM: typing.ClassVar['PlantConstraintScope.Type'] = ... + AREA: typing.ClassVar['PlantConstraintScope.Type'] = ... + MODEL: typing.ClassVar['PlantConstraintScope.Type'] = ... + SHARED_RESOURCE: typing.ClassVar['PlantConstraintScope.Type'] = ... + COUPLED_GROUP: typing.ClassVar['PlantConstraintScope.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PlantConstraintScope.Type': ... + @staticmethod + def values() -> typing.MutableSequence['PlantConstraintScope.Type']: ... + +class PlantUtilizationSnapshot(java.io.Serializable): + @staticmethod + def builder(plantConstraintRegistry: PlantConstraintRegistry, string: typing.Union[java.lang.String, str]) -> 'PlantUtilizationSnapshot.Builder': ... + def getBottleneck(self) -> PlantConstraintEvidence: ... + def getBottleneckLadder(self) -> java.util.List[PlantConstraintEvidence]: ... + def getCalculationId(self) -> java.lang.String: ... + def getCoverageDiagnostics(self) -> java.util.List[java.lang.String]: ... + @typing.overload + def getEvidence(self) -> java.util.List[PlantConstraintEvidence]: ... + @typing.overload + def getEvidence(self, string: typing.Union[java.lang.String, str]) -> PlantConstraintEvidence: ... + def getFeasibilityDiagnostics(self) -> java.util.List[java.lang.String]: ... + def getNearLimitThreshold(self) -> float: ... + def getRegistryIdentityDigest(self) -> java.lang.String: ... + def getSchemaVersion(self) -> java.lang.String: ... + def isComplete(self) -> bool: ... + def isConvergenceComplete(self) -> bool: ... + def isFeasible(self) -> bool: ... + class Builder: + def build(self) -> 'PlantUtilizationSnapshot': ... + def convergenceComplete(self, boolean: bool) -> 'PlantUtilizationSnapshot.Builder': ... + def nearLimitThreshold(self, double: float) -> 'PlantUtilizationSnapshot.Builder': ... + def sample(self, plantConstraintSample: PlantConstraintSample) -> 'PlantUtilizationSnapshot.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]): ... @@ -1662,6 +1965,103 @@ class ProcessModelAllocationOptimizer: @staticmethod def values() -> typing.MutableSequence['ProcessModelAllocationOptimizer.SearchOutcome']: ... +class ProcessModelDebottleneckRanking(java.io.Serializable): + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], rankingPolicy: 'ProcessModelDebottleneckRanking.RankingPolicy'): ... + def getId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getPolicy(self) -> 'ProcessModelDebottleneckRanking.RankingPolicy': ... + def getProvenance(self) -> java.lang.String: ... + @typing.overload + def rank(self, list: java.util.List['ProcessModelDebottleneckStudy.StudyResult']) -> 'ProcessModelDebottleneckRanking.RankingResult': ... + @typing.overload + def rank(self, studyResultArray: typing.Union[typing.List['ProcessModelDebottleneckStudy.StudyResult'], jpype.JArray]) -> 'ProcessModelDebottleneckRanking.RankingResult': ... + class CandidateEvidence(java.io.Serializable): + def getAlternativeDefinition(self) -> 'ProcessModelDebottleneckStudy.CapacityAlternative': ... + def getAlternativeMetric(self) -> 'ProcessModelDebottleneckStudy.MetricEvidence': ... + def getBaselineMetric(self) -> 'ProcessModelDebottleneckStudy.MetricEvidence': ... + def getDelta(self) -> float: ... + def getDiagnostics(self) -> java.util.List[java.lang.String]: ... + def getInputIndex(self) -> int: ... + def getRank(self) -> int: ... + def getStatus(self) -> 'ProcessModelDebottleneckRanking.CandidateStatus': ... + def getStudyResult(self) -> 'ProcessModelDebottleneckStudy.StudyResult': ... + def isQualified(self) -> bool: ... + class CandidateStatus(java.lang.Enum['ProcessModelDebottleneckRanking.CandidateStatus']): + QUALIFIED: typing.ClassVar['ProcessModelDebottleneckRanking.CandidateStatus'] = ... + STUDY_NOT_COMPLETED: typing.ClassVar['ProcessModelDebottleneckRanking.CandidateStatus'] = ... + RECOVERY_NOT_VERIFIED: typing.ClassVar['ProcessModelDebottleneckRanking.CandidateStatus'] = ... + SCENARIO_NOT_QUALIFIED: typing.ClassVar['ProcessModelDebottleneckRanking.CandidateStatus'] = ... + RANKING_METRIC_MISSING: typing.ClassVar['ProcessModelDebottleneckRanking.CandidateStatus'] = ... + RANKING_METRIC_NOT_CALCULABLE: typing.ClassVar['ProcessModelDebottleneckRanking.CandidateStatus'] = ... + METRIC_METADATA_MISMATCH: typing.ClassVar['ProcessModelDebottleneckRanking.CandidateStatus'] = ... + ALTERNATIVE_CONFIDENCE_TOO_LOW: typing.ClassVar['ProcessModelDebottleneckRanking.CandidateStatus'] = ... + METRIC_CONFIDENCE_TOO_LOW: typing.ClassVar['ProcessModelDebottleneckRanking.CandidateStatus'] = ... + BASELINE_INCOMPATIBLE: typing.ClassVar['ProcessModelDebottleneckRanking.CandidateStatus'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelDebottleneckRanking.CandidateStatus': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelDebottleneckRanking.CandidateStatus']: ... + class RankingDirection(java.lang.Enum['ProcessModelDebottleneckRanking.RankingDirection']): + MAXIMIZE: typing.ClassVar['ProcessModelDebottleneckRanking.RankingDirection'] = ... + MINIMIZE: typing.ClassVar['ProcessModelDebottleneckRanking.RankingDirection'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelDebottleneckRanking.RankingDirection': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelDebottleneckRanking.RankingDirection']: ... + class RankingOutcome(java.lang.Enum['ProcessModelDebottleneckRanking.RankingOutcome']): + COMPLETED: typing.ClassVar['ProcessModelDebottleneckRanking.RankingOutcome'] = ... + PARTIAL: typing.ClassVar['ProcessModelDebottleneckRanking.RankingOutcome'] = ... + NO_QUALIFIED_ALTERNATIVE: typing.ClassVar['ProcessModelDebottleneckRanking.RankingOutcome'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelDebottleneckRanking.RankingOutcome': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelDebottleneckRanking.RankingOutcome']: ... + class RankingPolicy(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], metricKind: 'ProcessModelDebottleneckStudy.MetricKind', string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str], string8: typing.Union[java.lang.String, str], string9: typing.Union[java.lang.String, str], rankingDirection: 'ProcessModelDebottleneckRanking.RankingDirection', double: float, double2: float, double3: float, double4: float): ... + def getBaselineRelativeTolerance(self) -> float: ... + def getBasis(self) -> java.lang.String: ... + def getDirection(self) -> 'ProcessModelDebottleneckRanking.RankingDirection': ... + def getEffectivePeriod(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getMetricId(self) -> java.lang.String: ... + def getMetricKind(self) -> 'ProcessModelDebottleneckStudy.MetricKind': ... + def getMetricName(self) -> java.lang.String: ... + def getMetricProvenance(self) -> java.lang.String: ... + def getMinimumAlternativeConfidence(self) -> float: ... + def getMinimumMetricConfidence(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getProvenance(self) -> java.lang.String: ... + def getTieTolerance(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def hasMinimumAlternativeConfidence(self) -> bool: ... + def hasMinimumMetricConfidence(self) -> bool: ... + class RankingResult(java.io.Serializable): + def getBestCandidate(self) -> 'ProcessModelDebottleneckRanking.CandidateEvidence': ... + def getCandidatesInInputOrder(self) -> java.util.List['ProcessModelDebottleneckRanking.CandidateEvidence']: ... + def getDiagnostics(self) -> java.util.List[java.lang.String]: ... + def getId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getOutcome(self) -> 'ProcessModelDebottleneckRanking.RankingOutcome': ... + def getPolicy(self) -> 'ProcessModelDebottleneckRanking.RankingPolicy': ... + def getProvenance(self) -> java.lang.String: ... + def getRankedCandidates(self) -> java.util.List['ProcessModelDebottleneckRanking.CandidateEvidence']: ... + def getRejectedCandidates(self) -> java.util.List['ProcessModelDebottleneckRanking.CandidateEvidence']: ... + class ProcessModelOperatingAction(java.io.Serializable): def accepts(self, double: float) -> bool: ... def apply(self, processModel: jneqsim.process.processmodel.ProcessModel, double: float) -> 'ProcessModelOperatingAction.ApplicationResult': ... @@ -3298,6 +3698,231 @@ class StandardObjective(java.lang.Enum['StandardObjective'], ObjectiveFunction): @staticmethod def values() -> typing.MutableSequence['StandardObjective']: ... +class ProcessModelDebottleneckStudy: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], processModelSimulationEvaluator: ProcessModelSimulationEvaluator, capacityAlternative: 'ProcessModelDebottleneckStudy.CapacityAlternative', scenarioSearch: 'ProcessModelDebottleneckStudy.ScenarioSearch', int: int): ... + def addMetric(self, metricDefinition: 'ProcessModelDebottleneckStudy.MetricDefinition') -> 'ProcessModelDebottleneckStudy': ... + def evaluate(self) -> 'ProcessModelDebottleneckStudy.StudyResult': ... + def getAlternative(self) -> 'ProcessModelDebottleneckStudy.CapacityAlternative': ... + def getEvaluator(self) -> ProcessModelSimulationEvaluator: ... + def getId(self) -> java.lang.String: ... + def getMetrics(self) -> java.util.List['ProcessModelDebottleneckStudy.MetricDefinition']: ... + def getName(self) -> java.lang.String: ... + def getObjectiveIndex(self) -> int: ... + def getProvenance(self) -> java.lang.String: ... + def getSearch(self) -> 'ProcessModelDebottleneckStudy.ScenarioSearch': ... + class CandidateListSearch(jneqsim.process.util.optimizer.ProcessModelDebottleneckStudy.ScenarioSearch): + def __init__(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[typing.List[float], jpype.JArray]], int: int, double: float): ... + def getCandidates(self) -> java.util.List[typing.MutableSequence[float]]: ... + def getId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getObjectiveIndex(self) -> int: ... + def getObjectiveTolerance(self) -> float: ... + def getProvenance(self) -> java.lang.String: ... + def search(self, processModelSimulationEvaluator: ProcessModelSimulationEvaluator) -> 'ProcessModelDebottleneckStudy.SearchSelection': ... + class CapacityAlternative(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], double: float, string7: typing.Union[java.lang.String, str], limitDirection: 'ProcessModelDebottleneckStudy.LimitDirection', string8: typing.Union[java.lang.String, str], double2: float, double3: float, double4: float): ... + def getAreaName(self) -> java.lang.String: ... + def getConfidence(self) -> float: ... + def getConstraintName(self) -> java.lang.String: ... + def getEquipmentName(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getLimitDirection(self) -> 'ProcessModelDebottleneckStudy.LimitDirection': ... + def getName(self) -> java.lang.String: ... + def getProposalSource(self) -> java.lang.String: ... + def getProposedLimit(self) -> float: ... + def getProvenance(self) -> java.lang.String: ... + def getQualifiedConstraintName(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def getValidityMaximum(self) -> float: ... + def getValidityMinimum(self) -> float: ... + def hasConfidence(self) -> bool: ... + def hasValidityRange(self) -> bool: ... + class CapacityState(java.io.Serializable): + def getApplicableLimit(self) -> float: ... + def getConfidence(self) -> float: ... + def getDataSource(self) -> java.lang.String: ... + def getDesignValue(self) -> float: ... + def getMaximumValue(self) -> float: ... + def getMinimumValue(self) -> float: ... + def getSeverity(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity: ... + def getShadowPrice(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getValidityMaximum(self) -> float: ... + def getValidityMinimum(self) -> float: ... + def getWarningThreshold(self) -> float: ... + def hasConfidence(self) -> bool: ... + def hasValidityRange(self) -> bool: ... + def isEnabled(self) -> bool: ... + class ConstraintEvidence(java.io.Serializable): + def getIndex(self) -> int: ... + def getMargin(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getType(self) -> ProcessModelSimulationEvaluator.ConstraintDefinition.Type: ... + def getUnit(self) -> java.lang.String: ... + def getValue(self) -> float: ... + def isHard(self) -> bool: ... + class LimitDirection(java.lang.Enum['ProcessModelDebottleneckStudy.LimitDirection']): + MAXIMUM: typing.ClassVar['ProcessModelDebottleneckStudy.LimitDirection'] = ... + MINIMUM: typing.ClassVar['ProcessModelDebottleneckStudy.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelDebottleneckStudy.LimitDirection': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelDebottleneckStudy.LimitDirection']: ... + class MetricComparison(java.io.Serializable): + def getAlternative(self) -> 'ProcessModelDebottleneckStudy.MetricEvidence': ... + def getBaseline(self) -> 'ProcessModelDebottleneckStudy.MetricEvidence': ... + def getDelta(self) -> float: ... + def isCalculable(self) -> bool: ... + class MetricDefinition: + def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], metricKind: 'ProcessModelDebottleneckStudy.MetricKind', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], double: float, boolean: bool, metricSampler: typing.Union['ProcessModelDebottleneckStudy.MetricSampler', typing.Callable]): ... + def getBasis(self) -> java.lang.String: ... + def getConfidence(self) -> float: ... + def getEffectivePeriod(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getKind(self) -> 'ProcessModelDebottleneckStudy.MetricKind': ... + def getName(self) -> java.lang.String: ... + def getProvenance(self) -> java.lang.String: ... + def getUnit(self) -> java.lang.String: ... + def hasConfidence(self) -> bool: ... + def isRequired(self) -> bool: ... + class MetricEvidence(java.io.Serializable): + def getBasis(self) -> java.lang.String: ... + def getConfidence(self) -> float: ... + def getDiagnostic(self) -> java.lang.String: ... + def getEffectivePeriod(self) -> java.lang.String: ... + def getId(self) -> java.lang.String: ... + def getKind(self) -> 'ProcessModelDebottleneckStudy.MetricKind': ... + def getName(self) -> java.lang.String: ... + def getProvenance(self) -> java.lang.String: ... + def getStatus(self) -> 'ProcessModelDebottleneckStudy.MetricStatus': ... + def getUnit(self) -> java.lang.String: ... + def getValue(self) -> float: ... + def hasConfidence(self) -> bool: ... + def isAvailable(self) -> bool: ... + def isRequired(self) -> bool: ... + class MetricKind(java.lang.Enum['ProcessModelDebottleneckStudy.MetricKind']): + PRODUCTION: typing.ClassVar['ProcessModelDebottleneckStudy.MetricKind'] = ... + POWER: typing.ClassVar['ProcessModelDebottleneckStudy.MetricKind'] = ... + ENERGY: typing.ClassVar['ProcessModelDebottleneckStudy.MetricKind'] = ... + DIRECT_EMISSIONS: typing.ClassVar['ProcessModelDebottleneckStudy.MetricKind'] = ... + INDIRECT_EMISSIONS: typing.ClassVar['ProcessModelDebottleneckStudy.MetricKind'] = ... + SCREENING_ECONOMIC: typing.ClassVar['ProcessModelDebottleneckStudy.MetricKind'] = ... + OTHER: typing.ClassVar['ProcessModelDebottleneckStudy.MetricKind'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelDebottleneckStudy.MetricKind': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelDebottleneckStudy.MetricKind']: ... + class MetricSampler(java.io.Serializable): + def sample(self, processModel: jneqsim.process.processmodel.ProcessModel) -> float: ... + class MetricStatus(java.lang.Enum['ProcessModelDebottleneckStudy.MetricStatus']): + AVAILABLE: typing.ClassVar['ProcessModelDebottleneckStudy.MetricStatus'] = ... + NON_FINITE: typing.ClassVar['ProcessModelDebottleneckStudy.MetricStatus'] = ... + SAMPLING_FAILED: typing.ClassVar['ProcessModelDebottleneckStudy.MetricStatus'] = ... + NOT_SAMPLED: typing.ClassVar['ProcessModelDebottleneckStudy.MetricStatus'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelDebottleneckStudy.MetricStatus': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelDebottleneckStudy.MetricStatus']: ... + class ObjectiveEvidence(java.io.Serializable): + def getDirection(self) -> ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction: ... + def getIndex(self) -> int: ... + def getMinimizerValue(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getRawValue(self) -> float: ... + def getUnit(self) -> java.lang.String: ... + def getWeight(self) -> float: ... + class ScenarioEvidence(java.io.Serializable): + def getBoundaryEvidence(self) -> java.util.List[ProcessBoundaryConstraintEvidence]: ... + def getConstraints(self) -> java.util.List['ProcessModelDebottleneckStudy.ConstraintEvidence']: ... + def getDiagnostics(self) -> java.util.List[java.lang.String]: ... + def getEvaluationCount(self) -> int: ... + def getInstalledCapacityEvidence(self) -> java.util.List[InstalledEquipmentCapacityEvidence]: ... + def getLabel(self) -> java.lang.String: ... + def getMetrics(self) -> java.util.List['ProcessModelDebottleneckStudy.MetricEvidence']: ... + def getObjectives(self) -> java.util.List['ProcessModelDebottleneckStudy.ObjectiveEvidence']: ... + def getSearchId(self) -> java.lang.String: ... + def getSearchName(self) -> java.lang.String: ... + def getSearchProvenance(self) -> java.lang.String: ... + def getSelectedParameters(self) -> typing.MutableSequence[float]: ... + def getStatus(self) -> 'ProcessModelDebottleneckStudy.ScenarioStatus': ... + def isFeasible(self) -> bool: ... + def isQualified(self) -> bool: ... + def isSimulationConverged(self) -> bool: ... + class ScenarioSearch(java.io.Serializable): + def getId(self) -> java.lang.String: ... + def getName(self) -> java.lang.String: ... + def getProvenance(self) -> java.lang.String: ... + def search(self, processModelSimulationEvaluator: ProcessModelSimulationEvaluator) -> 'ProcessModelDebottleneckStudy.SearchSelection': ... + class ScenarioStatus(java.lang.Enum['ProcessModelDebottleneckStudy.ScenarioStatus']): + QUALIFIED: typing.ClassVar['ProcessModelDebottleneckStudy.ScenarioStatus'] = ... + SEARCH_FAILED: typing.ClassVar['ProcessModelDebottleneckStudy.ScenarioStatus'] = ... + VERIFICATION_FAILED: typing.ClassVar['ProcessModelDebottleneckStudy.ScenarioStatus'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelDebottleneckStudy.ScenarioStatus': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelDebottleneckStudy.ScenarioStatus']: ... + class SearchSelection(java.io.Serializable): + @staticmethod + def failed(string: typing.Union[java.lang.String, str]) -> 'ProcessModelDebottleneckStudy.SearchSelection': ... + def getDiagnostics(self) -> java.util.List[java.lang.String]: ... + def getParameters(self) -> typing.MutableSequence[float]: ... + def isSelected(self) -> bool: ... + @staticmethod + def selected(doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> 'ProcessModelDebottleneckStudy.SearchSelection': ... + class StudyOutcome(java.lang.Enum['ProcessModelDebottleneckStudy.StudyOutcome']): + COMPLETED: typing.ClassVar['ProcessModelDebottleneckStudy.StudyOutcome'] = ... + ALTERNATIVE_NOT_APPLICABLE: typing.ClassVar['ProcessModelDebottleneckStudy.StudyOutcome'] = ... + BASELINE_FAILED: typing.ClassVar['ProcessModelDebottleneckStudy.StudyOutcome'] = ... + ALTERNATIVE_FAILED: typing.ClassVar['ProcessModelDebottleneckStudy.StudyOutcome'] = ... + REQUIRED_METRIC_UNAVAILABLE: typing.ClassVar['ProcessModelDebottleneckStudy.StudyOutcome'] = ... + RESTORATION_FAILED: typing.ClassVar['ProcessModelDebottleneckStudy.StudyOutcome'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ProcessModelDebottleneckStudy.StudyOutcome': ... + @staticmethod + def values() -> typing.MutableSequence['ProcessModelDebottleneckStudy.StudyOutcome']: ... + class StudyResult(java.io.Serializable): + def getAlternative(self) -> 'ProcessModelDebottleneckStudy.ScenarioEvidence': ... + def getAlternativeDefinition(self) -> 'ProcessModelDebottleneckStudy.CapacityAlternative': ... + def getAppliedCapacityState(self) -> 'ProcessModelDebottleneckStudy.CapacityState': ... + def getBaseline(self) -> 'ProcessModelDebottleneckStudy.ScenarioEvidence': ... + def getDiagnostics(self) -> java.util.List[java.lang.String]: ... + def getId(self) -> java.lang.String: ... + def getMetricComparisons(self) -> java.util.List['ProcessModelDebottleneckStudy.MetricComparison']: ... + def getName(self) -> java.lang.String: ... + def getObjectiveDelta(self) -> float: ... + def getOriginalCapacityState(self) -> 'ProcessModelDebottleneckStudy.CapacityState': ... + def getOutcome(self) -> 'ProcessModelDebottleneckStudy.StudyOutcome': ... + def getProvenance(self) -> java.lang.String: ... + def isCapacityRestored(self) -> bool: ... + def isObjectiveDeltaCalculable(self) -> bool: ... + def isProcessStateRestored(self) -> bool: ... + def isRecoverySimulationConverged(self) -> bool: ... + class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.optimizer")``. @@ -3326,12 +3951,21 @@ class __module_protocol__(Protocol): OptimizationResultBase: typing.Type[OptimizationResultBase] ParetoFront: typing.Type[ParetoFront] ParetoSolution: typing.Type[ParetoSolution] + PlantConstraintDefinition: typing.Type[PlantConstraintDefinition] + PlantConstraintEvidence: typing.Type[PlantConstraintEvidence] + PlantConstraintParticipant: typing.Type[PlantConstraintParticipant] + PlantConstraintRegistry: typing.Type[PlantConstraintRegistry] + PlantConstraintSample: typing.Type[PlantConstraintSample] + PlantConstraintScope: typing.Type[PlantConstraintScope] + PlantUtilizationSnapshot: typing.Type[PlantUtilizationSnapshot] PressureBoundaryOptimizer: typing.Type[PressureBoundaryOptimizer] ProcessBoundaryConstraintEvidence: typing.Type[ProcessBoundaryConstraintEvidence] ProcessConstraint: typing.Type[ProcessConstraint] ProcessConstraintEvaluator: typing.Type[ProcessConstraintEvaluator] ProcessModelAllocationBottleneckAnalyzer: typing.Type[ProcessModelAllocationBottleneckAnalyzer] ProcessModelAllocationOptimizer: typing.Type[ProcessModelAllocationOptimizer] + ProcessModelDebottleneckRanking: typing.Type[ProcessModelDebottleneckRanking] + ProcessModelDebottleneckStudy: typing.Type[ProcessModelDebottleneckStudy] ProcessModelOperatingAction: typing.Type[ProcessModelOperatingAction] ProcessModelOperatingActionEvaluator: typing.Type[ProcessModelOperatingActionEvaluator] ProcessModelOperatingActionSetEvaluator: typing.Type[ProcessModelOperatingActionSetEvaluator] diff --git a/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi b/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi index de4f32da..18783f78 100644 --- a/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi +++ b/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi @@ -419,11 +419,15 @@ class MultiMineralScaleEquilibrium(java.io.Serializable): def __init__(self, scalePredictionCalculator: 'ScalePredictionCalculator'): ... def getActivityCoefficientsUsed(self) -> java.util.Map[java.lang.String, float]: ... def getDivalentActivityCoefficientUsed(self) -> float: ... + def getIterationCount(self) -> int: ... + def getMaximumComplementarityViolation(self) -> float: ... + def getMaximumIonBalanceResidualMolPerL(self) -> float: ... def getPrecipitatedMassMgPerL(self, string: typing.Union[java.lang.String, str]) -> float: ... def getPrecipitatedMolPerL(self, string: typing.Union[java.lang.String, str]) -> float: ... def getResidualFreeIonMolPerL(self, string: typing.Union[java.lang.String, str]) -> float: ... def getResults(self) -> java.util.Map[java.lang.String, 'MultiMineralScaleEquilibrium.MineralResult']: ... def getTotalScaleMassMgPerL(self) -> float: ... + def hasReachedIterationLimit(self) -> bool: ... def isSolved(self) -> bool: ... def setActivityModel(self, activityModel: 'MultiMineralScaleEquilibrium.ActivityModel') -> 'MultiMineralScaleEquilibrium': ... def setBdotParameters(self, double: float, double2: float) -> 'MultiMineralScaleEquilibrium': ... diff --git a/src/jneqsim-stubs/thermo/characterization/__init__.pyi b/src/jneqsim-stubs/thermo/characterization/__init__.pyi index 4fd09eff..1e553a41 100644 --- a/src/jneqsim-stubs/thermo/characterization/__init__.pyi +++ b/src/jneqsim-stubs/thermo/characterization/__init__.pyi @@ -15,6 +15,100 @@ import typing +class AlDiwiniyaAtmosphericReference: + DOI: typing.ClassVar[java.lang.String] = ... + ARTICLE_URL: typing.ClassVar[java.lang.String] = ... + LICENSE: typing.ClassVar[java.lang.String] = ... + PUBLICATION_DATE: typing.ClassVar[java.lang.String] = ... + @staticmethod + def areHysysProductRatesImposedSpecifications() -> bool: ... + @staticmethod + def calculateSignedRelativeErrorPercent(double: float, double2: float) -> float: ... + @staticmethod + def getBottomSteamPressureBarGauge() -> float: ... + @staticmethod + def getBottomSteamRateKgPerHour() -> float: ... + @staticmethod + def getBottomSteamTemperatureCelsius() -> float: ... + @staticmethod + def getColumnBottomPressureBarGauge() -> float: ... + @staticmethod + def getColumnFeedPressureBarGauge() -> float: ... + @staticmethod + def getColumnFeedTemperatureCelsius() -> float: ... + @staticmethod + def getColumnStageCount() -> int: ... + @staticmethod + def getColumnTopPressureBarGauge() -> float: ... + @staticmethod + def getCrudeApiGravityAt15C() -> float: ... + @staticmethod + def getCrudeCapacityBarrelsPerDay() -> float: ... + @staticmethod + def getCrudeDensityKgPerCubicMetre() -> float: ... + @staticmethod + def getCrudeFeedRateM3PerHour() -> float: ... + @staticmethod + def getCrudeSaltPpm() -> float: ... + @staticmethod + def getCrudeSulfurMassPercent() -> float: ... + @staticmethod + def getFeedFlashZoneLowerTray() -> int: ... + @staticmethod + def getFeedFlashZoneUpperTray() -> int: ... + @staticmethod + def getGasoilDrawTray() -> int: ... + @staticmethod + def getGasoilPumpAroundRateM3PerHour() -> float: ... + @staticmethod + def getGasoilPumpAroundReturnTemperatureCelsius() -> float: ... + @staticmethod + def getGasoilStripperSteamRateKgPerHour() -> float: ... + @staticmethod + def getHeavyNaphthaDrawTrays() -> typing.MutableSequence[int]: ... + @staticmethod + def getKeroseneDrawTray() -> int: ... + @staticmethod + def getKeroseneStripperSteamRateKgPerHour() -> float: ... + @staticmethod + def getKinematicViscosityAt20CCst() -> float: ... + @staticmethod + def getMeasuredHydrocarbonLiquidClosurePercent() -> float: ... + @staticmethod + def getMeasuredHydrocarbonLiquidProductRateM3PerHour() -> float: ... + @staticmethod + def getOverheadWaterRateM3PerHour() -> float: ... + @staticmethod + def getPreheatOutletTemperatureCelsius() -> float: ... + @staticmethod + def getProduct(string: typing.Union[java.lang.String, str]) -> 'AlDiwiniyaAtmosphericReference.ProductReference': ... + @staticmethod + def getProducts() -> typing.MutableSequence['AlDiwiniyaAtmosphericReference.ProductReference']: ... + @staticmethod + def getSideStripperStageCount() -> int: ... + @staticmethod + def getTbpCumulativeVolumePercent() -> typing.MutableSequence[float]: ... + @staticmethod + def getTbpTemperatureCelsius() -> typing.MutableSequence[float]: ... + @staticmethod + def getTbpTemperatureKelvin() -> typing.MutableSequence[float]: ... + @staticmethod + def getWaterAndBottomSedimentVolumePercent() -> float: ... + @staticmethod + def hasCompleteTbpCurve() -> bool: ... + @staticmethod + def isIndependentYieldValidationCase() -> bool: ... + class ProductReference(java.io.Serializable): + def getDrawTemperatureRelativeErrorPercent(self) -> float: ... + def getHysysDrawTemperatureCelsius(self) -> float: ... + def getHysysRateM3PerHour(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPlantDrawTemperatureCelsius(self) -> float: ... + def getPlantRateM3PerHour(self) -> float: ... + def getRateRelativeErrorPercent(self) -> float: ... + def isHydrocarbonLiquid(self) -> bool: ... + def toString(self) -> java.lang.String: ... + class AsphalteneCharacterization: CII_STABLE_LIMIT: typing.ClassVar[float] = ... CII_UNSTABLE_LIMIT: typing.ClassVar[float] = ... @@ -227,6 +321,16 @@ class CharacterizationValidationReport: def toReportString(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... +class DoeBigHillSweetAssay: + COMPREHENSIVE_ASSAY_URL: typing.ClassVar[java.lang.String] = ... + PIANO_ASSAY_URL: typing.ClassVar[java.lang.String] = ... + @typing.overload + @staticmethod + def create(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'OilAssayCharacterisation': ... + @typing.overload + @staticmethod + def create(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> 'OilAssayCharacterisation': ... + class LumpingConfigBuilder: def __init__(self, characterise: Characterise): ... def build(self) -> Characterise: ... @@ -311,22 +415,47 @@ 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 addTBPCutBoundariesCelsius(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def addTBPCutBoundariesKelvin(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def apply(self) -> None: ... + @staticmethod + def calculatePianoMolarMassKgPerMol(pianoHydrocarbonFamilyArray: typing.Union[typing.List['OilAssayCharacterisation.PianoHydrocarbonFamily'], jpype.JArray], intArray: typing.Union[typing.List[int], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... def clearCuts(self) -> None: ... def clone(self) -> 'OilAssayCharacterisation': ... + def getBulkApiGravity(self) -> float: ... + def getBulkDensityKgPerCubicMetreAt60F(self) -> float: ... + def getBulkNitrogenMassFraction(self) -> float: ... + def getBulkNitrogenMassPercent(self) -> float: ... + def getBulkSpecificGravity(self) -> float: ... + def getBulkSulfurMassFraction(self) -> float: ... + def getBulkSulfurMassPercent(self) -> float: ... def getCuts(self) -> java.util.List['OilAssayCharacterisation.AssayCut']: ... + def getResolvedMassFractions(self) -> typing.MutableSequence[float]: ... def getTotalAssayMass(self) -> float: ... 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 getLowerBoilingPointKelvin(self) -> float: ... def getMassFraction(self) -> float: ... def getName(self) -> java.lang.String: ... + def getNitrogenMassFraction(self) -> float: ... + def getStandardComponentName(self) -> java.lang.String: ... + def getSulfurMassFraction(self) -> float: ... + def getUpperBoilingPointKelvin(self) -> float: ... def getVolumeFraction(self) -> float: ... + def getWatsonCharacterizationFactor(self) -> float: ... + def hasBoilingRange(self) -> bool: ... + def hasLowerBoilingPoint(self) -> bool: ... def hasMassFraction(self) -> bool: ... def hasMolarMass(self) -> bool: ... + def hasNitrogenMassFraction(self) -> bool: ... + def hasSulfurMassFraction(self) -> bool: ... + def hasUpperBoilingPoint(self) -> bool: ... def hasVolumeFraction(self) -> bool: ... + def hasWatsonCharacterizationFactor(self) -> bool: ... + def isStandardComponent(self) -> bool: ... def resolveAverageBoilingPoint(self) -> float: ... def resolveDensity(self) -> float: ... def resolveMolarMass(self, double: float, double2: float) -> float: ... @@ -334,12 +463,44 @@ class OilAssayCharacterisation(java.lang.Cloneable, java.io.Serializable): def withAverageBoilingPointCelsius(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... def withAverageBoilingPointFahrenheit(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... def withAverageBoilingPointKelvin(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withBoilingRangeCelsius(self, double: float, double2: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withBoilingRangeKelvin(self, double: float, double2: float) -> 'OilAssayCharacterisation.AssayCut': ... def withDensity(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withDensityKgPerCubicMetre(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withLowerBoilingPointCelsius(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withLowerBoilingPointFahrenheit(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withLowerBoilingPointKelvin(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... def withMassFraction(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... def withMolarMass(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withMolarMassGramPerMol(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withMolarMassKgPerMol(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withNitrogenMassFraction(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withNitrogenMassPercent(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withSpecificGravity(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withStandardComponent(self, string: typing.Union[java.lang.String, str]) -> 'OilAssayCharacterisation.AssayCut': ... + def withSulfurMassFraction(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withSulfurMassPercent(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withUpperBoilingPointCelsius(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withUpperBoilingPointFahrenheit(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withUpperBoilingPointKelvin(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... def withVolumeFraction(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... def withVolumePercent(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withWatsonCharacterizationFactor(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... def withWeightPercent(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + class PianoHydrocarbonFamily(java.lang.Enum['OilAssayCharacterisation.PianoHydrocarbonFamily']): + PARAFFIN: typing.ClassVar['OilAssayCharacterisation.PianoHydrocarbonFamily'] = ... + ISO_PARAFFIN: typing.ClassVar['OilAssayCharacterisation.PianoHydrocarbonFamily'] = ... + AROMATIC: typing.ClassVar['OilAssayCharacterisation.PianoHydrocarbonFamily'] = ... + NAPHTHENE: typing.ClassVar['OilAssayCharacterisation.PianoHydrocarbonFamily'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'OilAssayCharacterisation.PianoHydrocarbonFamily': ... + @staticmethod + def values() -> typing.MutableSequence['OilAssayCharacterisation.PianoHydrocarbonFamily']: ... class PedersenAsphalteneCharacterization: DEFAULT_ASPHALTENE_MW: typing.ClassVar[float] = ... @@ -469,6 +630,94 @@ class Recombine: def setGOR(self, double: float) -> None: ... def setOilDesnity(self, double: float) -> None: ... +class SarirAtmosphericAssay: + CUT_COUNT: typing.ClassVar[int] = ... + BULK_DENSITY_TOLERANCE_KG_PER_CUBIC_METRE: typing.ClassVar[float] = ... + BULK_MOLAR_MASS_TOLERANCE_KG_PER_MOL: typing.ClassVar[float] = ... + @staticmethod + def calculateBulkMolarMassKgPerMol(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @staticmethod + def calculateBulkSpecificGravity(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + @typing.overload + @staticmethod + def create(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> OilAssayCharacterisation: ... + @typing.overload + @staticmethod + def create(systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> OilAssayCharacterisation: ... + @staticmethod + def getCutVolumePercent() -> typing.MutableSequence[float]: ... + +class SarirAtmosphericReference: + DOI: typing.ClassVar[java.lang.String] = ... + ARTICLE_URL: typing.ClassVar[java.lang.String] = ... + LICENSE: typing.ClassVar[java.lang.String] = ... + PUBLICATION_DATE: typing.ClassVar[java.lang.String] = ... + @staticmethod + def areSimulationProductRatesImposedSpecifications() -> bool: ... + @staticmethod + def calculateAbsoluteRelativeErrorPercent(double: float, double2: float) -> float: ... + @staticmethod + def getBottomPumpAroundRateKgPerHour() -> float: ... + @staticmethod + def getColumnCrudeFeedRateKgPerHour() -> float: ... + @staticmethod + def getColumnFeedPressureKPa() -> float: ... + @staticmethod + def getColumnFeedTemperatureCelsius() -> float: ... + @staticmethod + def getColumnTrayCount() -> int: ... + @staticmethod + def getCrudeApiGravityAt60F() -> float: ... + @staticmethod + def getCrudeAverageMolarMassKgPerMol() -> float: ... + @staticmethod + def getCrudeDensityAt15CKgPerCubicMetre() -> float: ... + @staticmethod + def getCrudeSulfurMassPercent() -> float: ... + @staticmethod + def getDieselStripperSteamRateKgPerHour() -> float: ... + @staticmethod + def getFeedTrayFromTop() -> int: ... + @staticmethod + def getKeroseneStripperSteamRateKgPerHour() -> float: ... + @staticmethod + def getMainColumnSteamRateKgPerHour() -> float: ... + @staticmethod + def getProductQualities() -> typing.MutableSequence['SarirAtmosphericReference.ProductQualityReference']: ... + @staticmethod + def getProductYield(string: typing.Union[java.lang.String, str]) -> 'SarirAtmosphericReference.ProductYieldReference': ... + @staticmethod + def getProductYields() -> typing.MutableSequence['SarirAtmosphericReference.ProductYieldReference']: ... + @staticmethod + def getTbpCumulativeVolumePercent() -> typing.MutableSequence[float]: ... + @staticmethod + def getTbpTemperatureCelsius() -> typing.MutableSequence[float]: ... + @staticmethod + def getTbpTemperatureKelvin() -> typing.MutableSequence[float]: ... + @staticmethod + def getTerminalResidueLowerBoundaryCelsius() -> float: ... + @staticmethod + def getTerminalResidueVolumePercent() -> float: ... + @staticmethod + def getTopPumpAroundRateKgPerHour() -> float: ... + @staticmethod + def hasCompleteNumericTbpCurve() -> bool: ... + @staticmethod + def hasResolvedLightEndComposition() -> bool: ... + @staticmethod + def isIndependentYieldValidationCase() -> bool: ... + class ProductQualityReference(java.io.Serializable): + def getLaboratoryFivePercentCelsius(self) -> float: ... + def getLaboratoryNinetyFivePercentCelsius(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getSimulationFivePercentCelsius(self) -> float: ... + def getSimulationNinetyFivePercentCelsius(self) -> float: ... + class ProductYieldReference(java.io.Serializable): + def getAbsoluteRelativeErrorPercent(self) -> float: ... + def getName(self) -> java.lang.String: ... + def getPlantMetricTonPerDay(self) -> float: ... + def getSimulationMetricTonPerDay(self) -> float: ... + class TBPModelInterface: def calcAcentricFactor(self, double: float, double2: float) -> float: ... def calcAcentricFactorKeslerLee(self, double: float, double2: float) -> float: ... @@ -481,6 +730,7 @@ class TBPModelInterface: def calcTC(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: ... @@ -737,6 +987,7 @@ class WaxCharacterise(java.io.Serializable, java.lang.Cloneable): class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.characterization")``. + AlDiwiniyaAtmosphericReference: typing.Type[AlDiwiniyaAtmosphericReference] AsphalteneCharacterization: typing.Type[AsphalteneCharacterization] BioFeedstock: typing.Type[BioFeedstock] BiomassCharacterization: typing.Type[BiomassCharacterization] @@ -744,6 +995,7 @@ class __module_protocol__(Protocol): CharacteriseInterface: typing.Type[CharacteriseInterface] CharacterizationOptions: typing.Type[CharacterizationOptions] CharacterizationValidationReport: typing.Type[CharacterizationValidationReport] + DoeBigHillSweetAssay: typing.Type[DoeBigHillSweetAssay] LumpingConfigBuilder: typing.Type[LumpingConfigBuilder] LumpingModel: typing.Type[LumpingModel] LumpingModelInterface: typing.Type[LumpingModelInterface] @@ -759,6 +1011,8 @@ class __module_protocol__(Protocol): PlusFractionModelInterface: typing.Type[PlusFractionModelInterface] PseudoComponentCombiner: typing.Type[PseudoComponentCombiner] Recombine: typing.Type[Recombine] + SarirAtmosphericAssay: typing.Type[SarirAtmosphericAssay] + SarirAtmosphericReference: typing.Type[SarirAtmosphericReference] TBPCharacterize: typing.Type[TBPCharacterize] TBPModelInterface: typing.Type[TBPModelInterface] TBPfractionModel: typing.Type[TBPfractionModel] diff --git a/src/jneqsim-stubs/thermo/component/__init__.pyi b/src/jneqsim-stubs/thermo/component/__init__.pyi index c988d382..0dd55162 100644 --- a/src/jneqsim-stubs/thermo/component/__init__.pyi +++ b/src/jneqsim-stubs/thermo/component/__init__.pyi @@ -304,6 +304,66 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la def setx(self, double: float) -> None: ... def setz(self, double: float) -> None: ... +class ComponentNameResolver: + @staticmethod + def deinvertCasIndexName(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def getCanonicalNames() -> java.util.Map[java.lang.String, java.lang.String]: ... + @staticmethod + def getSynonyms() -> java.util.Map[java.lang.String, java.lang.String]: ... + @staticmethod + def isKnownName(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def normalize(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + @staticmethod + def resolve(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + +class IapwsHenryLaw: + DATASET_ID: typing.ClassVar[java.lang.String] = ... + WATER_MOLAR_MASS_KG_PER_MOL: typing.ClassVar[float] = ... + @staticmethod + def assess(string: typing.Union[java.lang.String, str], double: float) -> 'IapwsHenryLaw.Assessment': ... + @staticmethod + def getHenryCoefficientBar(string: typing.Union[java.lang.String, str], double: float) -> float: ... + @staticmethod + def getHenryCoefficientBarAllowExtrapolation(string: typing.Union[java.lang.String, str], double: float) -> float: ... + @staticmethod + def getLnHenryCoefficientTemperatureDerivative(string: typing.Union[java.lang.String, str], double: float) -> float: ... + @staticmethod + def isEquationDefined(string: typing.Union[java.lang.String, str], double: float) -> bool: ... + @staticmethod + def isSupportedSpecies(string: typing.Union[java.lang.String, str]) -> bool: ... + @staticmethod + def isUsable(string: typing.Union[java.lang.String, str], double: float) -> bool: ... + class Assessment: + def formatDiagnostic(self) -> java.lang.String: ... + def getCanonicalGasName(self) -> java.lang.String: ... + def getCoefficientA(self) -> float: ... + def getCoefficientB(self) -> float: ... + def getCoefficientC(self) -> float: ... + def getDatasetId(self) -> java.lang.String: ... + def getMaximumFittedTemperature(self) -> float: ... + def getMinimumFittedTemperature(self) -> float: ... + def getRmsLogHenryResidual(self) -> float: ... + def getStatus(self) -> 'IapwsHenryLaw.Status': ... + def getTemperature(self) -> float: ... + def isSupportedSpecies(self) -> bool: ... + def isUsable(self) -> bool: ... + class Status(java.lang.Enum['IapwsHenryLaw.Status']): + WITHIN_FITTED_RANGE: typing.ClassVar['IapwsHenryLaw.Status'] = ... + GUIDELINE_EXTRAPOLATION: typing.ClassVar['IapwsHenryLaw.Status'] = ... + UNSUPPORTED_SPECIES: typing.ClassVar['IapwsHenryLaw.Status'] = ... + OUTSIDE_CORRELATION_DOMAIN: typing.ClassVar['IapwsHenryLaw.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: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'IapwsHenryLaw.Status': ... + @staticmethod + def values() -> typing.MutableSequence['IapwsHenryLaw.Status']: ... + class Component(ComponentInterface): dfugdx: typing.MutableSequence[float] = ... @typing.overload @@ -781,6 +841,8 @@ class ComponentGE(Component, ComponentGEInterface): def getLnGammadn(self, int: int) -> float: ... def getLnGammadt(self) -> float: ... def getLnGammadtdt(self) -> float: ... + def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... def setLnGammadn(self, int: int, double: float) -> None: ... class ComponentHydrate(Component): @@ -1005,6 +1067,8 @@ class ComponentGePitzer(ComponentGE): @typing.overload def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... def getMolality(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def isHydrocarbon(self) -> bool: ... + def setNeutralPitzerInteractionsActive(self, boolean: bool) -> None: ... class ComponentHydrateBallard(ComponentHydrate): def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... @@ -1106,6 +1170,19 @@ class ComponentRK(ComponentEos): def getdQpuredT(self, double: float) -> float: ... def getdQpuredTdT(self, double: float) -> float: ... +class ComponentSolidHelmholtzEos(ComponentEos): + 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 calca(self) -> float: ... + def calcb(self) -> float: ... + def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getChemicalPotential(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + @typing.overload + def getChemicalPotential(self, double: float, double2: float) -> float: ... + def getLogFugacityCoefficient(self) -> float: ... + def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + class ComponentSpanWagnerEos(ComponentEos): @typing.overload def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... @@ -2054,6 +2131,7 @@ class __module_protocol__(Protocol): ComponentLeachmanEos: typing.Type[ComponentLeachmanEos] ComponentModifiedFurstElectrolyteEos: typing.Type[ComponentModifiedFurstElectrolyteEos] ComponentModifiedFurstElectrolyteEosMod2004: typing.Type[ComponentModifiedFurstElectrolyteEosMod2004] + ComponentNameResolver: typing.Type[ComponentNameResolver] ComponentPCSAFT: typing.Type[ComponentPCSAFT] ComponentPCSAFTa: typing.Type[ComponentPCSAFTa] ComponentPR: typing.Type[ComponentPR] @@ -2062,6 +2140,7 @@ class __module_protocol__(Protocol): ComponentRK: typing.Type[ComponentRK] ComponentSAFTVRMie: typing.Type[ComponentSAFTVRMie] ComponentSolid: typing.Type[ComponentSolid] + ComponentSolidHelmholtzEos: typing.Type[ComponentSolidHelmholtzEos] ComponentSoreideWhitson: typing.Type[ComponentSoreideWhitson] ComponentSpanWagnerEos: typing.Type[ComponentSpanWagnerEos] ComponentSrk: typing.Type[ComponentSrk] @@ -2078,5 +2157,6 @@ class __module_protocol__(Protocol): ComponentWax: typing.Type[ComponentWax] ComponentWaxWilson: typing.Type[ComponentWaxWilson] ComponentWonWax: typing.Type[ComponentWonWax] + IapwsHenryLaw: typing.Type[IapwsHenryLaw] attractiveeosterm: jneqsim.thermo.component.attractiveeosterm.__module_protocol__ repulsiveeosterm: jneqsim.thermo.component.repulsiveeosterm.__module_protocol__ diff --git a/src/jneqsim-stubs/thermo/phase/__init__.pyi b/src/jneqsim-stubs/thermo/phase/__init__.pyi index 9aabe0ee..0c0cd828 100644 --- a/src/jneqsim-stubs/thermo/phase/__init__.pyi +++ b/src/jneqsim-stubs/thermo/phase/__init__.pyi @@ -7,6 +7,7 @@ else: import java.io import java.lang +import java.util import jpype import jneqsim.physicalproperties import jneqsim.physicalproperties.system @@ -15,6 +16,7 @@ import jneqsim.thermo.component import jneqsim.thermo.mixingrule import jneqsim.thermo.system import jneqsim.thermo.util.gerg +import jneqsim.thermo.util.solid import org.netlib.util import typing @@ -381,6 +383,165 @@ class PhaseType(java.lang.Enum['PhaseType']): @staticmethod def values() -> typing.MutableSequence['PhaseType']: ... +class PhreeqcPitzerParameterCatalog: + SOURCE_COMMIT: typing.ClassVar[java.lang.String] = ... + SOURCE_BLOB: typing.ClassVar[java.lang.String] = ... + def find(self, family: 'PhreeqcPitzerParameterCatalog.Family', *string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + @staticmethod + def getInstance() -> 'PhreeqcPitzerParameterCatalog': ... + def require(self, family: 'PhreeqcPitzerParameterCatalog.Family', *string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def size(self, family: 'PhreeqcPitzerParameterCatalog.Family') -> int: ... + class Family(java.lang.Enum['PhreeqcPitzerParameterCatalog.Family']): + B0: typing.ClassVar['PhreeqcPitzerParameterCatalog.Family'] = ... + B1: typing.ClassVar['PhreeqcPitzerParameterCatalog.Family'] = ... + B2: typing.ClassVar['PhreeqcPitzerParameterCatalog.Family'] = ... + C0: typing.ClassVar['PhreeqcPitzerParameterCatalog.Family'] = ... + THETA: typing.ClassVar['PhreeqcPitzerParameterCatalog.Family'] = ... + PSI: typing.ClassVar['PhreeqcPitzerParameterCatalog.Family'] = ... + LAMBDA: typing.ClassVar['PhreeqcPitzerParameterCatalog.Family'] = ... + ZETA: typing.ClassVar['PhreeqcPitzerParameterCatalog.Family'] = ... + MU: typing.ClassVar['PhreeqcPitzerParameterCatalog.Family'] = ... + ETA: typing.ClassVar['PhreeqcPitzerParameterCatalog.Family'] = ... + ALPHAS: typing.ClassVar['PhreeqcPitzerParameterCatalog.Family'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PhreeqcPitzerParameterCatalog.Family': ... + @staticmethod + def values() -> typing.MutableSequence['PhreeqcPitzerParameterCatalog.Family']: ... + +class PitzerElectrostaticMixing: + @staticmethod + def calculate(double: float, double2: float, double3: float, double4: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + +class PitzerNeutralParameterCoverage(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]], list4: java.util.List[typing.Union[java.lang.String, str]], list5: java.util.List[typing.Union[java.lang.String, str]]): ... + def formatDiagnostic(self) -> java.lang.String: ... + def getActiveNeutralSolutes(self) -> java.util.List[java.lang.String]: ... + def getDatasetId(self) -> java.lang.String: ... + def getMissingEtaTuples(self) -> java.util.List[java.lang.String]: ... + def getMissingLambdaPairs(self) -> java.util.List[java.lang.String]: ... + def getMissingMuTuples(self) -> java.util.List[java.lang.String]: ... + def getMissingZetaTuples(self) -> java.util.List[java.lang.String]: ... + def isComplete(self) -> bool: ... + +class PitzerParameterCoverage(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]], list4: java.util.List[typing.Union[java.lang.String, str]], list5: java.util.List[typing.Union[java.lang.String, str]]): ... + def formatDiagnostic(self) -> java.lang.String: ... + def getActiveAnions(self) -> java.util.List[java.lang.String]: ... + def getActiveCations(self) -> java.util.List[java.lang.String]: ... + def getDatasetId(self) -> java.lang.String: ... + def getMissingBinaryPairs(self) -> java.util.List[java.lang.String]: ... + def getMissingPsiTuples(self) -> java.util.List[java.lang.String]: ... + def getMissingThetaPairs(self) -> java.util.List[java.lang.String]: ... + def isComplete(self) -> bool: ... + +class PitzerParameterDatasets: + PHREEQC_CO2_NA2SO4_ID: typing.ClassVar[java.lang.String] = ... + PHREEQC_NA_K_CL_ID: typing.ClassVar[java.lang.String] = ... + PHREEQC_PITZER_CATALOG_ID: typing.ClassVar[java.lang.String] = ... + PHREEQC_REFERENCE_TEMPERATURE_K: typing.ClassVar[float] = ... + CO2_NA2SO4_VALIDATION_MIN_TEMPERATURE_K: typing.ClassVar[float] = ... + CO2_NA2SO4_VALIDATION_MAX_TEMPERATURE_K: typing.ClassVar[float] = ... + CO2_NA2SO4_VALIDATION_MIN_SALT_MOLALITY: typing.ClassVar[float] = ... + CO2_NA2SO4_VALIDATION_MAX_SALT_MOLALITY: typing.ClassVar[float] = ... + NA_K_CL_VALIDATION_MIN_TEMPERATURE_K: typing.ClassVar[float] = ... + NA_K_CL_VALIDATION_MAX_TEMPERATURE_K: typing.ClassVar[float] = ... + NA_K_CL_VALIDATION_MIN_CHLORIDE_MOLALITY: typing.ClassVar[float] = ... + NA_K_CL_VALIDATION_MAX_CHLORIDE_MOLALITY: typing.ClassVar[float] = ... + CA_MG_CL_SO4_BINARY_VALIDATION_MIN_MOLALITY: typing.ClassVar[float] = ... + CA_MG_CL_SO4_BINARY_VALIDATION_MAX_MOLALITY: typing.ClassVar[float] = ... + SR_CL_BINARY_VALIDATION_MIN_TEMPERATURE_K: typing.ClassVar[float] = ... + SR_CL_BINARY_VALIDATION_MAX_TEMPERATURE_K: typing.ClassVar[float] = ... + SR_CL_BINARY_VALIDATION_MIN_MOLALITY: typing.ClassVar[float] = ... + SR_CL_BINARY_VALIDATION_MAX_MOLALITY: typing.ClassVar[float] = ... + CA_MG_CL_MIXTURE_VALIDATION_MIN_TOTAL_MOLALITY: typing.ClassVar[float] = ... + CA_MG_CL_MIXTURE_VALIDATION_MAX_TOTAL_MOLALITY: typing.ClassVar[float] = ... + CA_MG_CL_MIXTURE_VALIDATION_MIN_CALCIUM_FRACTION: typing.ClassVar[float] = ... + CA_MG_CL_MIXTURE_VALIDATION_MAX_CALCIUM_FRACTION: typing.ClassVar[float] = ... + MG_CL_SO4_WATER_ACTIVITY_VALIDATION_MIN_TOTAL_MOLALITY: typing.ClassVar[float] = ... + MG_CL_SO4_WATER_ACTIVITY_VALIDATION_MAX_TOTAL_MOLALITY: typing.ClassVar[float] = ... + @staticmethod + def applyCompletePhreeqcPitzerCatalog(phasePitzer: 'PhasePitzer') -> None: ... + @staticmethod + def applyPhreeqcCalciumMagnesiumChlorideSulfate(phasePitzer: 'PhasePitzer') -> None: ... + @staticmethod + def applyPhreeqcCo2SodiumSulfate(phasePitzer: 'PhasePitzer') -> None: ... + @staticmethod + def applyPhreeqcSodiumPotassiumChloride(phasePitzer: 'PhasePitzer') -> None: ... + @staticmethod + def getQualification(string: typing.Union[java.lang.String, str]) -> 'PitzerParameterQualification': ... + @staticmethod + def isWithinCalciumMagnesiumChlorideBinaryValidationRange(double: float, double2: float) -> bool: ... + @staticmethod + def isWithinCalciumMagnesiumChlorideMixtureValidationRange(double: float, double2: float, double3: float) -> bool: ... + @staticmethod + def isWithinCo2SodiumSulfateValidationRange(double: float, double2: float) -> bool: ... + @staticmethod + def isWithinMagnesiumChlorideSulfateWaterActivityValidationRange(double: float, double2: float, double3: float) -> bool: ... + @staticmethod + def isWithinSodiumPotassiumChlorideValidationRange(double: float, double2: float, double3: float, double4: float) -> bool: ... + @staticmethod + def isWithinStrontiumChlorideValidationRange(double: float, double2: float) -> bool: ... + @staticmethod + def tryApplyCompletePhreeqcPitzerCatalog(phasePitzer: 'PhasePitzer') -> bool: ... + +class PitzerParameterQualification(java.io.Serializable): + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], level: 'PitzerParameterQualification.Level', list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.lang.String, str]]): ... + @typing.overload + def __init__(self, string: typing.Union[java.lang.String, str], level: 'PitzerParameterQualification.Level', list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.lang.String, str]], list3: java.util.List['PitzerParameterQualification.ValidationTarget']): ... + def formatDiagnostic(self) -> java.lang.String: ... + def getDatasetId(self) -> java.lang.String: ... + def getLevel(self) -> 'PitzerParameterQualification.Level': ... + def getLimitations(self) -> java.util.List[java.lang.String]: ... + def getValidatedSystems(self) -> java.util.List[java.lang.String]: ... + def getValidatedTargets(self) -> java.util.Set['PitzerParameterQualification.ValidationTarget']: ... + def isValidatedFor(self, validationTarget: 'PitzerParameterQualification.ValidationTarget') -> bool: ... + def isValidatedWithinDeclaredEnvelope(self) -> bool: ... + def requireCompleteDatasetQualification(self) -> None: ... + def requireValidationFor(self, validationTarget: 'PitzerParameterQualification.ValidationTarget') -> None: ... + class Level(java.lang.Enum['PitzerParameterQualification.Level']): + UNQUALIFIED: typing.ClassVar['PitzerParameterQualification.Level'] = ... + SOURCE_MAPPED: typing.ClassVar['PitzerParameterQualification.Level'] = ... + PARTIALLY_EXPERIMENTALLY_VALIDATED: typing.ClassVar['PitzerParameterQualification.Level'] = ... + VALIDATED_WITHIN_DECLARED_ENVELOPE: typing.ClassVar['PitzerParameterQualification.Level'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PitzerParameterQualification.Level': ... + @staticmethod + def values() -> typing.MutableSequence['PitzerParameterQualification.Level']: ... + class ValidationTarget(java.lang.Enum['PitzerParameterQualification.ValidationTarget']): + AQUEOUS_ACTIVITY_COEFFICIENTS: typing.ClassVar['PitzerParameterQualification.ValidationTarget'] = ... + WATER_ACTIVITY_AND_OSMOTIC_COEFFICIENT: typing.ClassVar['PitzerParameterQualification.ValidationTarget'] = ... + GAS_AQUEOUS_VLE: typing.ClassVar['PitzerParameterQualification.ValidationTarget'] = ... + REACTIVE_SPECIATION: typing.ClassVar['PitzerParameterQualification.ValidationTarget'] = ... + MINERAL_SATURATION_AND_PRECIPITATION: typing.ClassVar['PitzerParameterQualification.ValidationTarget'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'PitzerParameterQualification.ValidationTarget': ... + @staticmethod + def values() -> typing.MutableSequence['PitzerParameterQualification.ValidationTarget']: ... + +class PitzerTemperatureFunction(java.io.Serializable): + def __init__(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + @staticmethod + def fromKaasa1998(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PitzerTemperatureFunction': ... + def getCoefficients(self) -> typing.MutableSequence[float]: ... + def getReferenceTemperature(self) -> float: ... + def valueAt(self, double: float) -> float: ... + class StateOfMatter(java.lang.Enum['StateOfMatter']): GAS: typing.ClassVar['StateOfMatter'] = ... LIQUID: typing.ClassVar['StateOfMatter'] = ... @@ -1346,7 +1507,9 @@ class PhaseGERG2008Eos(PhaseEos): def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... + def getLogFugacityCoefficient(self, int: int) -> float: ... def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... + def getResidualChemicalPotential(self, int: int) -> float: ... def getZ(self) -> float: ... def getdPdTVn(self) -> float: ... def getdPdVTn(self) -> float: ... @@ -1358,8 +1521,10 @@ class PhaseGERG2008Eos(PhaseEos): @typing.overload def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... def invalidateCache(self) -> None: ... + def isPhaseEnvelopeCalculation(self) -> bool: ... 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 setPhaseEnvelopeCalculation(self, boolean: bool) -> None: ... class PhaseGEUniquac(PhaseGE): @typing.overload @@ -1476,14 +1641,18 @@ class PhaseLeachmanEos(PhaseEos): @typing.overload def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... def invalidateCache(self) -> None: ... + def isLiquidRootRequested(self) -> bool: ... def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... class PhasePitzer(PhaseGE): + DEFAULT_PARAMETER_DATASET_ID: typing.ClassVar[java.lang.String] = ... 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 auditNeutralPitzerParameterCoverage(self) -> PitzerNeutralParameterCoverage: ... + def clone(self) -> 'PhasePitzer': ... @typing.overload def getActivityCoefficient(self, int: int, int2: int) -> float: ... @typing.overload @@ -1498,8 +1667,11 @@ class PhasePitzer(PhaseGE): def getBeta1ij(self, int: int, int2: int) -> float: ... @typing.overload def getBeta1ij(self, int: int, int2: int, double: float) -> float: ... + @typing.overload def getBeta2ij(self, int: int, int2: int) -> float: ... @typing.overload + def getBeta2ij(self, int: int, int2: int, double: float) -> float: ... + @typing.overload def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getCp(self) -> float: ... @@ -1525,6 +1697,7 @@ class PhasePitzer(PhaseGE): def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getEntropy(self) -> float: ... + def getEta(self, int: int, int2: int, int3: int, double: float) -> float: ... @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload @@ -1533,31 +1706,78 @@ class PhasePitzer(PhaseGE): def getHresTP(self) -> float: ... def getHresdP(self) -> float: ... def getIonicStrength(self) -> float: ... + def getLambda(self, int: int, int2: int, double: float) -> float: ... + def getMu(self, int: int, int2: int, int3: int, double: float) -> float: ... + def getNeutralPitzerLogGammaContribution(self, int: int, double: float) -> float: ... + def getNeutralPitzerOsmoticContribution(self, double: float) -> float: ... def getOsmoticCoefficient(self, int: int) -> float: ... def getOsmoticCoefficientOfWater(self) -> float: ... def getOsmoticCoefficientOfWaterMolality(self) -> float: ... + def getParameterDatasetId(self) -> java.lang.String: ... + def getPitzerAlpha1(self, int: int, int2: int) -> float: ... + def getPitzerAlpha2(self, int: int, int2: int) -> float: ... + def getPitzerParameterCoverage(self) -> PitzerParameterCoverage: ... + def getPitzerReactionParameterCoverage(self) -> PitzerParameterCoverage: ... + @typing.overload def getPsiijk(self, int: int, int2: int, int3: int) -> float: ... + @typing.overload + def getPsiijk(self, int: int, int2: int, int3: int, double: float) -> float: ... def getSolventWeight(self) -> float: ... def getSresTP(self) -> float: ... def getSresTV(self) -> float: ... + @typing.overload def getThetaij(self, int: int, int2: int) -> float: ... + @typing.overload + def getThetaij(self, int: int, int2: int, double: float) -> float: ... + def getZeta(self, int: int, int2: int, int3: int, double: float) -> float: ... + def hasNeutralPitzerInteractions(self) -> bool: ... + def hasUnequalChargeSameSignPair(self) -> bool: ... + @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 isNonTwoTwoBeta2Active(self) -> bool: ... def isParametersLoaded(self) -> bool: ... + def isPhreeqcCommonIonTermsActive(self) -> bool: ... + def isUsePhreeqcCatalogByDefault(self) -> bool: ... def loadParametersFromDatabase(self) -> None: ... def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def requireCompleteNeutralPitzerParameterCoverage(self) -> None: ... + def requireCompletePitzerParameterCoverage(self) -> None: ... + def requireCompletePitzerReactionParameterCoverage(self) -> None: ... 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 setBeta2TemperatureCoefficients(self, int: int, int2: int, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setBinaryParameters(self, int: int, int2: int, double: float, double2: float, double3: float) -> None: ... + def setBinaryTemperatureCoefficients(self, int: int, int2: 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]) -> 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 setEta(self, int: int, int2: int, int3: int, double: float) -> None: ... + def setEtaTemperatureCoefficients(self, int: int, int2: int, int3: int, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setLambda(self, int: int, int2: int, double: float) -> None: ... + def setLambdaTemperatureCoefficients(self, int: int, int2: int, double: float, doubleArray: typing.Union[typing.List[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 setMu(self, int: int, int2: int, int3: int, double: float) -> None: ... + def setMuTemperatureCoefficients(self, int: int, int2: int, int3: int, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setParameterDatasetId(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPhreeqcBinaryTemperatureCoefficients(self, int: int, int2: 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]) -> None: ... def setPsi(self, int: int, int2: int, int3: int, double: float) -> None: ... + def setPsiTemperatureCoefficients(self, int: int, int2: int, int3: int, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setTheta(self, int: int, int2: int, double: float) -> None: ... + def setThetaTemperatureCoefficients(self, int: int, int2: int, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setUsePhreeqcCatalogByDefault(self, boolean: bool) -> None: ... + def setZeta(self, int: int, int2: int, int3: int, double: float) -> None: ... + def setZetaTemperatureCoefficients(self, int: int, int2: int, int3: int, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... class PhasePrEos(PhaseEos): def __init__(self): ... @@ -1575,6 +1795,44 @@ class PhaseRK(PhaseEos): def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... def clone(self) -> 'PhaseRK': ... +class PhaseSolidHelmholtzEos(PhaseEos): + def __init__(self, solidHelmholtzEquation: typing.Union[jneqsim.thermo.util.solid.SolidHelmholtzEquation, typing.Callable]): ... + @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) -> 'PhaseSolidHelmholtzEos': ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + def getGibbsEnergy(self) -> float: ... + def getHelmholtzEnergy(self) -> float: ... + @typing.overload + def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getInternalEnergy(self) -> float: ... + def getSolidEquation(self) -> jneqsim.thermo.util.solid.SolidHelmholtzEquation: ... + def getSolidState(self) -> jneqsim.thermo.util.solid.SolidHelmholtzState: ... + @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: ... + class PhaseSpanWagnerEos(PhaseEos): def __init__(self): ... @typing.overload @@ -1846,6 +2104,7 @@ class PhaseEOSCGEos(PhaseGERG2008Eos): 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 getDensity_GERG2008(self) -> float: ... def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... def getdPdTVn(self) -> float: ... @typing.overload @@ -3528,6 +3787,7 @@ class __module_protocol__(Protocol): PhaseSAFTVRMie: typing.Type[PhaseSAFTVRMie] PhaseSolid: typing.Type[PhaseSolid] PhaseSolidComplex: typing.Type[PhaseSolidComplex] + PhaseSolidHelmholtzEos: typing.Type[PhaseSolidHelmholtzEos] PhaseSoreideWhitson: typing.Type[PhaseSoreideWhitson] PhaseSpanWagnerEos: typing.Type[PhaseSpanWagnerEos] PhaseSrkCPA: typing.Type[PhaseSrkCPA] @@ -3548,4 +3808,11 @@ class __module_protocol__(Protocol): PhaseVegaEos: typing.Type[PhaseVegaEos] PhaseWaterIAPWS: typing.Type[PhaseWaterIAPWS] PhaseWax: typing.Type[PhaseWax] + PhreeqcPitzerParameterCatalog: typing.Type[PhreeqcPitzerParameterCatalog] + PitzerElectrostaticMixing: typing.Type[PitzerElectrostaticMixing] + PitzerNeutralParameterCoverage: typing.Type[PitzerNeutralParameterCoverage] + PitzerParameterCoverage: typing.Type[PitzerParameterCoverage] + PitzerParameterDatasets: typing.Type[PitzerParameterDatasets] + PitzerParameterQualification: typing.Type[PitzerParameterQualification] + PitzerTemperatureFunction: typing.Type[PitzerTemperatureFunction] StateOfMatter: typing.Type[StateOfMatter] diff --git a/src/jneqsim-stubs/thermo/system/__init__.pyi b/src/jneqsim-stubs/thermo/system/__init__.pyi index f19f3b31..2b2d86c4 100644 --- a/src/jneqsim-stubs/thermo/system/__init__.pyi +++ b/src/jneqsim-stubs/thermo/system/__init__.pyi @@ -9,7 +9,9 @@ import java.io import java.lang import java.util import jpype +import neqsim import jneqsim.chemicalreactions +import jneqsim.chemicalreactions.chemicalreaction import jneqsim.physicalproperties import jneqsim.physicalproperties.interfaceproperties import jneqsim.physicalproperties.system @@ -19,6 +21,7 @@ import jneqsim.thermo.component import jneqsim.thermo.mixingrule import jneqsim.thermo.phase import jneqsim.thermo.util.gerg +import jneqsim.thermo.util.solid import jneqsim.util.validation import typing @@ -151,6 +154,7 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def calc_x_y(self) -> None: ... def calc_x_y_nonorm(self) -> None: ... def calculateDensityFromBoilingPoint(self, double: float, double2: float) -> float: ... + def calculateDensityFromBoilingPointAndWatsonK(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 @@ -183,6 +187,8 @@ 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 getChemicalReactionConcentrationBasis(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionConcentrationBasis: ... + def getChemicalReactionDataSource(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionDataSource: ... def getChemicalReactionOperations(self) -> jneqsim.chemicalreactions.ChemicalReactionOperations: ... def getCompFormulaes(self) -> typing.MutableSequence[java.lang.String]: ... def getCompIDs(self) -> typing.MutableSequence[java.lang.String]: ... @@ -558,25 +564,24 @@ class HybridEosGeFlashModel(EosGeFlashModel): def restoreHybridEosGePhaseRoles(self) -> None: ... def synchronizeHybridEosGeOverallComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> None: ... -class SystemThermo(SystemInterface): - characterization: jneqsim.thermo.characterization.Characterise = ... - componentNameTag: java.lang.String = ... - maxNumberOfPhases: int = ... +class SystemAmmoniaEos(jneqsim.thermo.system.SystemEos): @typing.overload def __init__(self): ... @typing.overload + def __init__(self, double: float, double2: float): ... + @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: ... @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: ... + @typing.overload + 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) -> 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: ... @@ -584,591 +589,456 @@ class SystemThermo(SystemInterface): 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 SystemArgonSolidHelmholtzEos(jneqsim.thermo.system.SystemSolidHelmholtzEos): @typing.overload - def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def __init__(self): ... @typing.overload - def addFluid(self, systemInterface: SystemInterface) -> SystemInterface: ... + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemArgonSolidHelmholtzEos': ... + def getArgonSolidEquation(self) -> jneqsim.thermo.util.solid.ArgonSolidHelmholtzEquation: ... + +class SystemBWRSEos(jneqsim.thermo.system.SystemEos): @typing.overload - 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: ... + def __init__(self): ... @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: ... + def __init__(self, double: float, double2: float): ... @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: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemBWRSEos': ... + +class SystemBnsEos(jneqsim.thermo.system.SystemEos): @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: ... + def __init__(self): ... @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: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + 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 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 setComposition(self, double: float, double2: float, double3: float, double4: float) -> None: ... @typing.overload - def allowPhaseShift(self) -> bool: ... + def setComposition(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool) -> None: ... @typing.overload - def allowPhaseShift(self, boolean: bool) -> None: ... - def autoSelectMixingRule(self) -> None: ... - def autoSelectModel(self) -> SystemInterface: ... + def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def calcHenrysConstant(self, string: typing.Union[java.lang.String, str]) -> float: ... + def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... @typing.overload - def calcHenrysConstant(self, string: typing.Union[java.lang.String, str], string2: 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 setMixingRule(self, int: int) -> None: ... @typing.overload - def checkStability(self) -> bool: ... + 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 SystemCSPsrkEos(jneqsim.thermo.system.SystemSrkEos): @typing.overload - def checkStability(self, boolean: bool) -> None: ... - def chemicalReactionInit(self) -> None: ... - def clearAll(self) -> None: ... - 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 deleteFluidPhase(self, int: int) -> None: ... + def __init__(self): ... @typing.overload - def display(self) -> None: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def display(self, string: typing.Union[java.lang.String, str]) -> None: ... - def doEnhancedMultiPhaseCheck(self) -> bool: ... - def doMultiPhaseCheck(self) -> bool: ... - def doSolidPhaseCheck(self) -> bool: ... - def equals(self, object: typing.Any) -> bool: ... - def getAntoineVaporPressure(self, double: float) -> float: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemCSPsrkEos': ... + +class SystemDesmukhMather(jneqsim.thermo.system.SystemEosGE): @typing.overload - def getBeta(self) -> float: ... + def __init__(self): ... @typing.overload - def getBeta(self, int: int) -> float: ... - def getCASNumbers(self) -> typing.MutableSequence[java.lang.String]: ... - 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 getCompFormulaes(self) -> typing.MutableSequence[java.lang.String]: ... - def getCompIDs(self) -> typing.MutableSequence[java.lang.String]: ... - def getCompNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getComponentNameTag(self) -> java.lang.String: ... - def getCorrectedVolume(self) -> float: ... - def getCorrectedVolumeFraction(self, int: int) -> float: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def getCp(self) -> float: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemDesmukhMather': ... + +class SystemDuanSun(jneqsim.thermo.system.SystemEos): @typing.overload - def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__(self): ... @typing.overload - def getCv(self) -> float: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__(self, double: float, double2: float, boolean: bool): ... @typing.overload - def getDensity(self) -> float: ... + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEmptySystemClone(self) -> SystemInterface: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... @typing.overload - def getEnthalpy(self) -> float: ... + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... @typing.overload - def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def addComponent(self, int: int, double: float) -> None: ... @typing.overload - def getEntropy(self) -> float: ... + def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... @typing.overload - def getExergy(self, double: float) -> float: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... @typing.overload - 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: ... - def getGamma(self) -> float: ... - def getGasPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... - def getGibbsEnergy(self) -> float: ... - def getHeatOfVaporization(self) -> float: ... - def getHelmholtzEnergy(self) -> float: ... - def getHydrateCheck(self) -> bool: ... - def getIdealLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def getInterfacialTension(self, int: int, int2: int) -> float: ... + 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(jneqsim.thermo.system.SystemEos): @typing.overload - def getInterfacialTension(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__(self): ... @typing.overload - def getInterfacialTension(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def getInternalEnergy(self) -> float: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemEOSCGEos': ... + def commonInitialization(self) -> None: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getInterphaseProperties(self) -> jneqsim.physicalproperties.interfaceproperties.InterphasePropertiesInterface: ... + def init(self, int: int) -> None: ... @typing.overload - def getJouleThomsonCoefficient(self) -> float: ... + def init(self, int: int, int2: int) -> None: ... + +class SystemElectrolyteCPA(jneqsim.thermo.system.SystemFurstElectrolyteEos): @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getKappa(self) -> float: ... + def __init__(self): ... @typing.overload - def getKinematicViscosity(self) -> float: ... + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemElectrolyteCPA': ... + +class SystemElectrolyteCPAAdvanced(jneqsim.thermo.system.SystemFurstElectrolyteEos): @typing.overload - 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: ... - def getLowestGibbsEnergyPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... - def getMass(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMaxNumberOfPhases(self) -> int: ... - def getMixingRule(self) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... - def getMixingRuleName(self) -> java.lang.String: ... - def getModelName(self) -> java.lang.String: ... - def getMolarComposition(self) -> typing.MutableSequence[float]: ... + def __init__(self): ... @typing.overload - def getMolarMass(self) -> float: ... + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemElectrolyteCPAAdvanced': ... + +class SystemElectrolyteCPAMM(jneqsim.thermo.system.SystemSrkCPA): @typing.overload - def getMolarMass(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMolarRate(self) -> typing.MutableSequence[float]: ... + def __init__(self): ... @typing.overload - def getMolarVolume(self) -> float: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def getMolarVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMoleFraction(self, int: int) -> float: ... - def getMoleFractionsSum(self) -> float: ... - def getMolecularWeights(self) -> typing.MutableSequence[float]: ... - def getNormalBoilingPointTemperatures(self) -> typing.MutableSequence[float]: ... - def getNumberOfComponents(self) -> int: ... - def getNumberOfOilFractionComponents(self) -> int: ... - def getNumberOfPhases(self) -> int: ... - 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]: ... - def getOilFractionNormalBoilingPoints(self) -> typing.MutableSequence[float]: ... - def getPC(self) -> float: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemElectrolyteCPAMM': ... + def getDebyeLength(self, int: int) -> float: ... + def getMixturePermittivity(self, int: int) -> float: ... + def getSolventPermittivity(self, int: int) -> float: ... @typing.overload - def getPhase(self, int: int) -> jneqsim.thermo.phase.PhaseInterface: ... + def initHuronVidalIonParameters(self) -> None: ... @typing.overload - def getPhase(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.phase.PhaseInterface: ... + def initHuronVidalIonParameters(self, double: float) -> None: ... + def setBornOn(self, boolean: bool) -> None: ... + def setDebyeHuckelOn(self, boolean: bool) -> None: ... @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 setDielectricMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def getPhaseIndex(self, int: int) -> int: ... + def setDielectricMixingRule(self, dielectricMixingRule: jneqsim.thermo.phase.PhaseElectrolyteCPAMM.DielectricMixingRule) -> None: ... + def setShortRangeOn(self, boolean: bool) -> None: ... + +class SystemElectrolyteCPAstatoil(jneqsim.thermo.system.SystemFurstElectrolyteEos): @typing.overload - def getPhaseIndex(self, string: typing.Union[java.lang.String, str]) -> int: ... + def __init__(self): ... @typing.overload - def getPhaseIndex(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> int: ... + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemElectrolyteCPAstatoil': ... + +class SystemEos(jneqsim.thermo.system.SystemThermo): @typing.overload - def getPhaseNumberOfPhase(self, string: typing.Union[java.lang.String, str]) -> int: ... + def __init__(self): ... @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 __init__(self, double: float, double2: float, boolean: bool): ... + def equals(self, object: typing.Any) -> bool: ... + +class SystemEosGE(SystemEos, HybridEosGeFlashModel): + def enableHybridEosGeFlash(self) -> None: ... + def finishHybridEosGeFlash(self, double: float) -> bool: ... + def getEosGasPhaseSlot(self) -> int: ... + def getEosOilPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getEosOilPhaseSlot(self) -> int: ... + def getEquationOfStatePhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getGeLiquidPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getGeLiquidPhaseSlot(self) -> int: ... + def getHybridEosGeFlashDiagnostics(self, double: float) -> java.lang.String: ... + def isExcessGibbsEnergyPhase(self, int: int) -> bool: ... + def isHybridEosGeAqueousPhase(self, int: int) -> bool: ... + def isHybridEosGeTopologyConfigured(self) -> bool: ... + def prepareGammaPhiFlash(self) -> None: ... + def prepareHybridEosGeFlash(self) -> None: ... + def requiresHybridEosGeFlash(self) -> bool: ... + def restoreHybridEosGeActivePhaseTypes(self) -> None: ... + def restoreHybridEosGePhaseRoles(self) -> None: ... + def synchronizeHybridEosGeOverallComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> None: ... + +class SystemFurstElectrolyteEos(jneqsim.thermo.system.SystemSrkEos): @typing.overload - def getPressure(self) -> float: ... + def __init__(self): ... @typing.overload - def getPressure(self, int: int) -> float: ... + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemFurstElectrolyteEos': ... + +class SystemFurstElectrolyteEosMod2004(jneqsim.thermo.system.SystemSrkEos): @typing.overload - def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getProperties(self) -> SystemProperties: ... + def __init__(self): ... @typing.overload - def getProperty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemFurstElectrolyteEosMod2004': ... + +class SystemGERG2004Eos(SystemEos): @typing.overload - def getProperty(self, string: typing.Union[java.lang.String, str], int: int) -> float: ... + def __init__(self): ... @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 __init__(self, double: float, double2: float): ... @typing.overload - def getSoundSpeed(self) -> float: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemGERG2004Eos': ... + def commonInitialization(self) -> None: ... + +class SystemGERG2008Eos(SystemEos): @typing.overload - def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__(self): ... @typing.overload - def getStandard(self) -> jneqsim.standards.StandardInterface: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def getStandard(self, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... - def getSumBeta(self) -> float: ... - def getTC(self) -> float: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemGERG2008Eos': ... + def commonInitialization(self) -> None: ... + def getGergModelType(self) -> jneqsim.thermo.util.gerg.GERG2008Type: ... @typing.overload - def getTemperature(self, int: int) -> float: ... + def init(self, int: int) -> None: ... @typing.overload - def getTemperature(self) -> float: ... + def init(self, int: int, int2: int) -> None: ... + def isUsingAmmoniaExtendedModel(self) -> bool: ... + def isUsingHydrogenEnhancedModel(self) -> bool: ... + def setGergModelType(self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type) -> None: ... + def useAmmoniaExtendedModel(self) -> None: ... + def useHydrogenEnhancedModel(self) -> None: ... + +class SystemGERGwaterEos(jneqsim.thermo.system.SystemPrEos): @typing.overload - def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__(self): ... @typing.overload - def getThermalConductivity(self) -> float: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getTotalNumberOfMoles(self) -> float: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemGERGwaterEos': ... + +class SystemGEWilson(SystemEosGE): @typing.overload - def getViscosity(self) -> float: ... + def __init__(self): ... @typing.overload - def getViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def getVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemGEWilson': ... + +class SystemIdealGas(jneqsim.thermo.system.SystemThermo): @typing.overload - def getVolume(self) -> float: ... - def getVolumeFraction(self, int: int) -> float: ... - 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: ... - def getZ(self) -> float: ... - def getZvolcorr(self) -> float: ... - def getdPdVtn(self) -> float: ... - def getdVdPtn(self) -> float: ... - def getdVdTpn(self) -> float: ... - def getzvector(self) -> typing.MutableSequence[float]: ... + def __init__(self): ... @typing.overload - def hasPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> bool: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def hasPhaseType(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def hasPlusFraction(self) -> bool: ... - def hasTBPFraction(self) -> bool: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemIdealGas': ... + +class SystemKentEisenberg(SystemEosGE): @typing.overload - def init(self, int: int) -> None: ... + def __init__(self): ... @typing.overload - def init(self, int: int, int2: int) -> None: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def initAnalytic(self, int: int) -> None: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemKentEisenberg': ... + def getChemicalReactionDataSource(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionDataSource: ... + +class SystemLeachmanEos(SystemEos): @typing.overload - def initAnalytic(self, int: int, int2: int) -> None: ... - def initBeta(self) -> None: ... + def __init__(self): ... @typing.overload - def initNumeric(self) -> None: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def initNumeric(self, int: int) -> None: ... + def __init__(self, double: float, double2: float, boolean: bool): ... @typing.overload - def initNumeric(self, int: int, int2: int) -> None: ... + def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str], boolean: bool): ... @typing.overload - def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def initPhysicalProperties(self) -> None: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... @typing.overload - def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... - def initRefPhases(self) -> None: ... - def initTotalNumberOfMoles(self, double: float) -> None: ... - def init_x_y(self) -> None: ... - def invertPhaseTypes(self) -> None: ... - def isBetaValid(self) -> bool: ... + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... @typing.overload - def isChemicalSystem(self) -> bool: ... + def addComponent(self, int: int, double: float) -> None: ... @typing.overload - def isChemicalSystem(self, boolean: bool) -> None: ... - def isForcePhaseTypes(self) -> bool: ... + def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def isImplementedCompositionDeriativesofFugacity(self) -> bool: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... @typing.overload - def isImplementedCompositionDeriativesofFugacity(self, boolean: bool) -> None: ... - def isImplementedPressureDeriativesofFugacity(self) -> bool: ... - def isImplementedTemperatureDeriativesofFugacity(self) -> bool: ... - def isInitialized(self) -> bool: ... - def isMultiphaseWaxCheck(self) -> bool: ... - def isNumericDerivatives(self) -> bool: ... - def isPhase(self, int: int) -> bool: ... - def normalizeBeta(self) -> None: ... - def orderByDensity(self) -> None: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... @typing.overload - def phaseToSystem(self, int: int) -> SystemInterface: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def phaseToSystem(self, int: int, int2: int) -> SystemInterface: ... + 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(SystemEosGE): @typing.overload - def phaseToSystem(self, string: typing.Union[java.lang.String, str]) -> SystemInterface: ... + def __init__(self): ... @typing.overload - 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 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 reset(self) -> None: ... - def resetCharacterisation(self) -> None: ... - def resetDatabase(self) -> None: ... - def resetPhysicalProperties(self) -> None: ... - def reset_x_y(self) -> None: ... - def save(self, string: typing.Union[java.lang.String, str]) -> None: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def saveFluid(self, int: int) -> None: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemNRTL': ... + +class SystemPCSAFT(jneqsim.thermo.system.SystemSrkEos): @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 saveToDataBase(self) -> None: ... - def setAllComponentsInPhase(self, int: int) -> None: ... - def setAllPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... - def setAttractiveTerm(self, int: int) -> None: ... + def __init__(self): ... @typing.overload - def setBeta(self, double: float) -> None: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def setBeta(self, int: int, double: float) -> None: ... + def __init__(self, double: float, double2: float, boolean: bool): ... @typing.overload - def setBinaryInteractionParameter(self, int: int, int2: int, double: float) -> None: ... + def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: 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 setBmixType(self, int: int) -> None: ... + 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(jneqsim.thermo.system.SystemSrkEos): @typing.overload - def setComponentCriticalParameters(self, int: int, double: float, double2: float, double3: float) -> None: ... + def __init__(self): ... @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 __init__(self, double: float, double2: float): ... @typing.overload - def setComponentVolumeCorrection(self, int: int, double: float) -> None: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPCSAFTa': ... + +class SystemPitzer(SystemEosGE): @typing.overload - 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: ... + def __init__(self): ... @typing.overload - def setForceSinglePhase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def __init__(self, double: float, double2: float): ... @typing.overload - 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: ... - def setLastTBPasPlus(self) -> bool: ... - def setMaxNumberOfPhases(self, int: int) -> None: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def applyCompletePhreeqcPitzerCatalogParameters(self) -> None: ... + def applyPhreeqcCalciumMagnesiumChlorideSulfateParameters(self) -> None: ... + def applyPhreeqcCo2SodiumSulfateParameters(self) -> None: ... + def applyPhreeqcSodiumPotassiumChlorideParameters(self) -> None: ... + def clone(self) -> 'SystemPitzer': ... + def getChemicalReactionConcentrationBasis(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionConcentrationBasis: ... + def getChemicalReactionDataSource(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionDataSource: ... + def getPitzerParameterQualification(self) -> jneqsim.thermo.phase.PitzerParameterQualification: ... + def isUsingPhreeqcPitzerParametersByDefault(self) -> bool: ... + def refreshDefaultPitzerParameterSelection(self) -> bool: ... + def requireCompletePitzerDatasetQualification(self) -> jneqsim.thermo.phase.PitzerParameterQualification: ... + def requirePitzerDatasetValidationFor(self, validationTarget: jneqsim.thermo.phase.PitzerParameterQualification.ValidationTarget) -> jneqsim.thermo.phase.PitzerParameterQualification: ... @typing.overload def setMixingRule(self, int: int) -> 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: ... @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 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 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 setPhaseIndex(self, int: int, int2: int) -> None: ... + def useLegacyPitzerParameters(self) -> None: ... + +class SystemPrCPA(jneqsim.thermo.system.SystemPrEos): @typing.overload - def setPhaseType(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... + def __init__(self): ... @typing.overload - def setPhaseType(self, int: int, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def __init__(self, double: float, double2: float): ... @typing.overload - def setPressure(self, double: float) -> None: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPrCPA': ... + +class SystemPrDanesh(jneqsim.thermo.system.SystemPrEos): @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def __init__(self): ... @typing.overload - def setSolidPhaseCheck(self, boolean: bool) -> None: ... + def __init__(self, double: float, double2: float): ... @typing.overload - 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 - def setTemperature(self, double: float, int: int) -> 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 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 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: ... - -class SystemEos(SystemThermo): + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPrDanesh': ... + +class SystemPrEos(SystemEos): @typing.overload def __init__(self): ... @typing.overload + def __init__(self, double: float, double2: float): ... + @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def equals(self, object: typing.Any) -> bool: ... + def clone(self) -> 'SystemPrEos': ... -class SystemIdealGas(SystemThermo): +class SystemPrEos1978(SystemPrEos): @typing.overload def __init__(self): ... @typing.overload 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) -> 'SystemPrEos1978': ... -class SystemAmmoniaEos(SystemEos): +class SystemPrEosDelft1998(SystemPrEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - @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: ... - @typing.overload - 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 clone(self) -> 'SystemPrEosDelft1998': ... -class SystemBWRSEos(SystemEos): +class SystemPrEosvolcor(SystemPrEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemBWRSEos': ... -class SystemBnsEos(SystemEos): +class SystemPrGassemEos(SystemPrEos): @typing.overload def __init__(self): ... @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 setAssociatedGas(self, boolean: bool) -> None: ... - @typing.overload - 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: ... - @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, int: int) -> None: ... - @typing.overload - def setMixingRule(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def setRelativeDensity(self, double: float) -> None: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemPrGassemEos': ... -class SystemDuanSun(SystemEos): +class SystemPrLeeKeslerEos(SystemPrEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - @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: ... - @typing.overload - 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 clone(self) -> 'SystemPrLeeKeslerEos': ... -class SystemEOSCGEos(SystemEos): +class SystemPrMathiasCopeman(SystemPrEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemEOSCGEos': ... - def commonInitialization(self) -> None: ... - -class SystemEosGE(SystemEos, HybridEosGeFlashModel): - def enableHybridEosGeFlash(self) -> None: ... - def finishHybridEosGeFlash(self, double: float) -> bool: ... - def getEosGasPhaseSlot(self) -> int: ... - def getEosOilPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... - def getEosOilPhaseSlot(self) -> int: ... - def getEquationOfStatePhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... - def getGeLiquidPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... - def getGeLiquidPhaseSlot(self) -> int: ... - def getHybridEosGeFlashDiagnostics(self, double: float) -> java.lang.String: ... - def isExcessGibbsEnergyPhase(self, int: int) -> bool: ... - def isHybridEosGeAqueousPhase(self, int: int) -> bool: ... - def isHybridEosGeTopologyConfigured(self) -> bool: ... - def prepareGammaPhiFlash(self) -> None: ... - def prepareHybridEosGeFlash(self) -> None: ... - def requiresHybridEosGeFlash(self) -> bool: ... - def restoreHybridEosGeActivePhaseTypes(self) -> None: ... - def restoreHybridEosGePhaseRoles(self) -> None: ... - def synchronizeHybridEosGeOverallComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> None: ... + def clone(self) -> 'SystemPrMathiasCopeman': ... -class SystemGERG2004Eos(SystemEos): +class SystemPsrkEos(jneqsim.thermo.system.SystemSrkEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemGERG2004Eos': ... - def commonInitialization(self) -> None: ... + def clone(self) -> 'SystemPsrkEos': ... -class SystemGERG2008Eos(SystemEos): +class SystemRKEos(SystemEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - 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 useAmmoniaExtendedModel(self) -> None: ... - def useHydrogenEnhancedModel(self) -> None: ... + def clone(self) -> 'SystemRKEos': ... -class SystemLeachmanEos(SystemEos): +class SystemSAFTVRMie(jneqsim.thermo.system.SystemSrkEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... + +class SystemSolidHelmholtzEos(SystemEos): + def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str], solidHelmholtzEquation: typing.Union[jneqsim.thermo.util.solid.SolidHelmholtzEquation, typing.Callable]): ... @typing.overload def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload @@ -1187,26 +1057,34 @@ class SystemLeachmanEos(SystemEos): 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: ... + def clone(self) -> 'SystemSolidHelmholtzEos': ... -class SystemPrEos(SystemEos): +class SystemSoreideWhitson(SystemPrEos1978): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrEos': ... - -class SystemRKEos(SystemEos): @typing.overload - def __init__(self): ... + def addSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def __init__(self, double: float, double2: float): ... + 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 clearAll(self) -> None: ... + def clone(self) -> 'SystemSoreideWhitson': ... + def getAqueousCO2Parameterization(self) -> jneqsim.thermo.mixingrule.SoreideWhitsonParameterization: ... + def getSalinity(self) -> float: ... + def getSoreideWhitsonParameterization(self) -> jneqsim.thermo.mixingrule.SoreideWhitsonParameterization: ... @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemRKEos': ... + def setAqueousCO2Parameterization(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setAqueousCO2Parameterization(self, soreideWhitsonParameterization: jneqsim.thermo.mixingrule.SoreideWhitsonParameterization) -> None: ... + def setSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSoreideWhitsonParameterization(self, string: typing.Union[java.lang.String, str]) -> None: ... + @typing.overload + def setSoreideWhitsonParameterization(self, soreideWhitsonParameterization: jneqsim.thermo.mixingrule.SoreideWhitsonParameterization) -> None: ... class SystemSpanWagnerEos(SystemEos): @typing.overload @@ -1236,25 +1114,7 @@ class SystemSpanWagnerEos(SystemEos): def clone(self) -> 'SystemSpanWagnerEos': ... def commonInitialization(self) -> None: ... -class SystemSrkEos(SystemEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkEos': ... - -class SystemTSTEos(SystemEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemTSTEos': ... - -class SystemVegaEos(SystemEos): +class SystemSrkCPA(jneqsim.thermo.system.SystemSrkEos): @typing.overload def __init__(self): ... @typing.overload @@ -1264,6 +1124,8 @@ class SystemVegaEos(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: ... + @typing.overload def addComponent(self, int: int, double: float) -> None: ... @typing.overload def addComponent(self, int: int, double: float, int2: int) -> None: ... @@ -1276,337 +1138,196 @@ class SystemVegaEos(SystemEos): @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 clone(self) -> 'SystemSrkCPA': ... def commonInitialization(self) -> None: ... -class SystemWaterIF97(SystemEos): +class SystemSrkCPAs(SystemSrkCPA): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str]) -> 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, 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: ... + def clone(self) -> 'SystemSrkCPAs': ... -class SystemCSPsrkEos(SystemSrkEos): +class SystemSrkCPAstatoil(SystemSrkCPAs): @typing.overload def __init__(self): ... @typing.overload 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) -> 'SystemSrkCPAstatoil': ... -class SystemDesmukhMather(SystemEosGE): +class SystemSrkCPAstatoilAndersonMixing(SystemSrkCPAstatoil): @typing.overload def __init__(self): ... @typing.overload 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) -> 'SystemSrkCPAstatoilAndersonMixing': ... -class SystemFurstElectrolyteEos(SystemSrkEos): +class SystemSrkCPAstatoilAndersonReduced(SystemSrkCPAstatoil): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> 'SystemFurstElectrolyteEos': ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkCPAstatoilAndersonReduced': ... -class SystemFurstElectrolyteEosMod2004(SystemSrkEos): +class SystemSrkCPAstatoilBroydenImplicit(SystemSrkCPAstatoil): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> 'SystemFurstElectrolyteEosMod2004': ... + @typing.overload + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkCPAstatoilBroydenImplicit': ... -class SystemGERGwaterEos(SystemPrEos): +class SystemSrkCPAstatoilFullyImplicit(SystemSrkCPAstatoil): @typing.overload def __init__(self): ... @typing.overload 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) -> 'SystemSrkCPAstatoilFullyImplicit': ... -class SystemGEWilson(SystemEosGE): +class SystemSrkCPAstatoilFullyImplicitReduced(SystemSrkCPAstatoil): @typing.overload def __init__(self): ... @typing.overload 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) -> 'SystemSrkCPAstatoilFullyImplicitReduced': ... -class SystemKentEisenberg(SystemEosGE): +class SystemSrkCPAstatoilReduced(SystemSrkCPAstatoil): @typing.overload def __init__(self): ... @typing.overload 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) -> 'SystemSrkCPAstatoilReduced': ... -class SystemNRTL(SystemEosGE): +class SystemSrkEos(SystemEos): @typing.overload def __init__(self): ... @typing.overload 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) -> 'SystemSrkEos': ... -class SystemPCSAFT(SystemSrkEos): +class SystemSrkEosvolcor(SystemSrkEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... + +class SystemSrkMathiasCopeman(SystemSrkEos): @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... + def __init__(self): ... @typing.overload - def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def __init__(self, double: float, double2: float): ... @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: ... + def __init__(self, double: float, double2: float, boolean: bool): ... + def clone(self) -> 'SystemSrkMathiasCopeman': ... -class SystemPCSAFTa(SystemSrkEos): +class SystemSrkPenelouxEos(SystemSrkEos): @typing.overload def __init__(self): ... @typing.overload 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) -> 'SystemSrkPenelouxEos': ... -class SystemPitzer(SystemEosGE): +class SystemSrkSchwartzentruberEos(SystemSrkEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - 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: ... - @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: ... - -class SystemPrCPA(SystemPrEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrCPA': ... - -class SystemPrDanesh(SystemPrEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrDanesh': ... - -class SystemPrEos1978(SystemPrEos): - @typing.overload - def __init__(self): ... - @typing.overload - 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) -> 'SystemSrkSchwartzentruberEos': ... -class SystemPrEosDelft1998(SystemPrEos): +class SystemSrkTwuCoonEos(SystemSrkEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrEosDelft1998': ... - -class SystemPrEosvolcor(SystemPrEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemSrkTwuCoonEos': ... -class SystemPrGassemEos(SystemPrEos): +class SystemSrkTwuCoonParamEos(SystemSrkEos): @typing.overload def __init__(self): ... @typing.overload 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) -> 'SystemSrkTwuCoonParamEos': ... -class SystemPrLeeKeslerEos(SystemPrEos): +class SystemSrkTwuCoonStatoilEos(SystemSrkEos): @typing.overload def __init__(self): ... @typing.overload 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) -> 'SystemSrkTwuCoonStatoilEos': ... -class SystemPrMathiasCopeman(SystemPrEos): +class SystemTSTEos(SystemEos): @typing.overload def __init__(self): ... @typing.overload 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) -> 'SystemTSTEos': ... -class SystemPsrkEos(SystemSrkEos): +class SystemUMRCPAEoS(SystemPrEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPsrkEos': ... -class SystemSAFTVRMie(SystemSrkEos): +class SystemUMRCPAvolcor(SystemUMRCPAEoS): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... -class SystemSrkCPA(SystemSrkEos): +class SystemUMRPRUEos(SystemPrEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - @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: ... - @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 clone(self) -> 'SystemUMRPRUEos': ... def commonInitialization(self) -> None: ... -class SystemSrkEosvolcor(SystemSrkEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... - -class SystemSrkMathiasCopeman(SystemSrkEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkMathiasCopeman': ... - -class SystemSrkPenelouxEos(SystemSrkEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkPenelouxEos': ... - -class SystemSrkSchwartzentruberEos(SystemSrkEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkSchwartzentruberEos': ... - -class SystemSrkTwuCoonEos(SystemSrkEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkTwuCoonEos': ... - -class SystemSrkTwuCoonParamEos(SystemSrkEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkTwuCoonParamEos': ... - -class SystemSrkTwuCoonStatoilEos(SystemSrkEos): +class SystemUMRPRUMCEos(SystemUMRPRUEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkTwuCoonStatoilEos': ... - -class SystemUMRCPAEoS(SystemPrEos): - @typing.overload - def __init__(self): ... - @typing.overload - def __init__(self, double: float, double2: float): ... + def clone(self) -> 'SystemUMRPRUMCEos': ... -class SystemUMRPRUEos(SystemPrEos): +class SystemUMRPRUMCEosNew(SystemUMRPRUMCEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemUMRPRUEos': ... - def commonInitialization(self) -> None: ... class SystemUNIFAC(SystemEosGE): @typing.overload @@ -1684,51 +1405,35 @@ class SystemVanLaarActivitySRK(SystemEosGE): def relaxGammaPhiKValue(self, double: float, double2: float) -> float: ... def requiresDirectGammaPhiFlash(self) -> bool: ... -class SystemElectrolyteCPA(SystemFurstElectrolyteEos): +class SystemVegaEos(SystemEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - 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': ... - -class SystemElectrolyteCPAMM(SystemSrkCPA): + def __init__(self, double: float, double2: float, boolean: bool): ... @typing.overload - def __init__(self): ... + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def __init__(self, double: float, double2: float): ... + def addComponent(self, int: int, double: float) -> None: ... @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemElectrolyteCPAMM': ... - def getDebyeLength(self, int: int) -> float: ... - def getMixturePermittivity(self, int: int) -> float: ... - def getSolventPermittivity(self, int: int) -> float: ... + def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def initHuronVidalIonParameters(self) -> None: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... @typing.overload - def initHuronVidalIonParameters(self, double: float) -> None: ... - def setBornOn(self, boolean: bool) -> None: ... - def setDebyeHuckelOn(self, boolean: bool) -> None: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... @typing.overload - def setDielectricMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setDielectricMixingRule(self, dielectricMixingRule: jneqsim.thermo.phase.PhaseElectrolyteCPAMM.DielectricMixingRule) -> None: ... - def setShortRangeOn(self, boolean: bool) -> None: ... - -class SystemElectrolyteCPAstatoil(SystemFurstElectrolyteEos): + 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 __init__(self): ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... @typing.overload - def __init__(self, double: float, double2: float): ... - def clone(self) -> 'SystemElectrolyteCPAstatoil': ... + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def clone(self) -> 'SystemVegaEos': ... + def commonInitialization(self) -> None: ... -class SystemSoreideWhitson(SystemPrEos1978): +class SystemWaterIF97(SystemEos): @typing.overload def __init__(self): ... @typing.overload @@ -1736,117 +1441,473 @@ 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 addComponent(self, 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 calcSalinity(self) -> bool: ... - def clearAll(self) -> None: ... - def clone(self) -> 'SystemSoreideWhitson': ... - def getAqueousCO2Parameterization(self) -> jneqsim.thermo.mixingrule.SoreideWhitsonParameterization: ... - def getSalinity(self) -> float: ... - def getSoreideWhitsonParameterization(self) -> jneqsim.thermo.mixingrule.SoreideWhitsonParameterization: ... + def addComponent(self, int: int, double: float) -> None: ... @typing.overload - def setAqueousCO2Parameterization(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def setAqueousCO2Parameterization(self, soreideWhitsonParameterization: jneqsim.thermo.mixingrule.SoreideWhitsonParameterization) -> None: ... - def setSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... @typing.overload - def setSoreideWhitsonParameterization(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... @typing.overload - def setSoreideWhitsonParameterization(self, soreideWhitsonParameterization: jneqsim.thermo.mixingrule.SoreideWhitsonParameterization) -> None: ... - -class SystemSrkCPAs(SystemSrkCPA): + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def __init__(self): ... + 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 __init__(self, double: float, double2: float): ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAs': ... + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def clone(self) -> 'SystemWaterIF97': ... + def commonInitialization(self) -> None: ... -class SystemUMRCPAvolcor(SystemUMRCPAEoS): +class SystemThermo(SystemInterface): + characterization: jneqsim.thermo.characterization.Characterise = ... + componentNameTag: java.lang.String = ... + maxNumberOfPhases: int = ... @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: float, double2: float): ... - -class SystemUMRPRUMCEos(SystemUMRPRUEos): + 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: ... @typing.overload - def __init__(self): ... + def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def __init__(self, double: float, double2: float): ... + def addComponent(self, int: int, double: float) -> None: ... @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemUMRPRUMCEos': ... - -class SystemSrkCPAstatoil(SystemSrkCPAs): + def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def __init__(self): ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... @typing.overload - def __init__(self, double: float, double2: float): ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoil': ... - -class SystemUMRPRUMCEosNew(SystemUMRPRUMCEos): + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... @typing.overload - def __init__(self): ... + def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def __init__(self, double: float, double2: float): ... - -class SystemSrkCPAstatoilAndersonMixing(SystemSrkCPAstatoil): + 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 __init__(self): ... + def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... @typing.overload - def __init__(self, double: float, double2: float): ... + def addFluid(self, systemInterface: SystemInterface) -> SystemInterface: ... @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilAndersonMixing': ... - -class SystemSrkCPAstatoilAndersonReduced(SystemSrkCPAstatoil): + 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 __init__(self): ... + 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 __init__(self, double: float, double2: float): ... + 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 __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilAndersonReduced': ... - -class SystemSrkCPAstatoilBroydenImplicit(SystemSrkCPAstatoil): + 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 __init__(self): ... + 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 __init__(self, double: float, double2: float): ... + def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilBroydenImplicit': ... - -class SystemSrkCPAstatoilFullyImplicit(SystemSrkCPAstatoil): + 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 __init__(self): ... + def allowPhaseShift(self) -> bool: ... @typing.overload - def __init__(self, double: float, double2: float): ... + def allowPhaseShift(self, boolean: bool) -> None: ... + def autoSelectMixingRule(self) -> None: ... + def autoSelectModel(self) -> SystemInterface: ... @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilFullyImplicit': ... - -class SystemSrkCPAstatoilFullyImplicitReduced(SystemSrkCPAstatoil): + def calcHenrysConstant(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def __init__(self): ... + def calcHenrysConstant(self, string: typing.Union[java.lang.String, str], string2: 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 calculateDensityFromBoilingPointAndWatsonK(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 __init__(self, double: float, double2: float): ... + def checkStability(self) -> bool: ... @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilFullyImplicitReduced': ... - -class SystemSrkCPAstatoilReduced(SystemSrkCPAstatoil): + def checkStability(self, boolean: bool) -> None: ... + def chemicalReactionInit(self) -> None: ... + def clearAll(self) -> None: ... + 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 deleteFluidPhase(self, int: int) -> None: ... @typing.overload - def __init__(self): ... + def display(self) -> None: ... @typing.overload - def __init__(self, double: float, double2: float): ... + def display(self, string: typing.Union[java.lang.String, str]) -> None: ... + def doEnhancedMultiPhaseCheck(self) -> bool: ... + def doMultiPhaseCheck(self) -> bool: ... + def doSolidPhaseCheck(self) -> bool: ... + def equals(self, object: typing.Any) -> bool: ... + def getAntoineVaporPressure(self, double: float) -> float: ... @typing.overload - def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilReduced': ... + def getBeta(self) -> float: ... + @typing.overload + def getBeta(self, int: int) -> float: ... + def getCASNumbers(self) -> typing.MutableSequence[java.lang.String]: ... + 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 getCompFormulaes(self) -> typing.MutableSequence[java.lang.String]: ... + def getCompIDs(self) -> typing.MutableSequence[java.lang.String]: ... + def getCompNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getComponentNameTag(self) -> java.lang.String: ... + def getCorrectedVolume(self) -> float: ... + def getCorrectedVolumeFraction(self, int: int) -> float: ... + @typing.overload + def getCp(self) -> float: ... + @typing.overload + def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getCv(self) -> float: ... + @typing.overload + def getCv(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getDensity(self) -> float: ... + @typing.overload + def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEmptySystemClone(self) -> SystemInterface: ... + @typing.overload + def getEnthalpy(self) -> float: ... + @typing.overload + def getEnthalpy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getEntropy(self) -> float: ... + @typing.overload + def getEntropy(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getExergy(self, double: float) -> float: ... + @typing.overload + 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: ... + def getGamma(self) -> float: ... + def getGasPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getGibbsEnergy(self) -> float: ... + def getHeatOfVaporization(self) -> float: ... + def getHelmholtzEnergy(self) -> float: ... + def getHydrateCheck(self) -> bool: ... + 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: ... + @typing.overload + 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: ... + @typing.overload + def getJouleThomsonCoefficient(self) -> float: ... + @typing.overload + 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 getKvector(self) -> typing.MutableSequence[float]: ... + def getLiquidPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getLiquidVolume(self) -> float: ... + def getLowestGibbsEnergyPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... + def getMass(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxNumberOfPhases(self) -> int: ... + def getMixingRule(self) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... + def getMixingRuleName(self) -> java.lang.String: ... + def getModelName(self) -> java.lang.String: ... + def getMolarComposition(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getMolarMass(self) -> float: ... + @typing.overload + def getMolarMass(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMolarRate(self) -> typing.MutableSequence[float]: ... + @typing.overload + def getMolarVolume(self) -> float: ... + @typing.overload + def getMolarVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMoleFraction(self, int: int) -> float: ... + def getMoleFractionsSum(self) -> float: ... + def getMolecularWeights(self) -> typing.MutableSequence[float]: ... + def getNormalBoilingPointTemperatures(self) -> typing.MutableSequence[float]: ... + def getNumberOfComponents(self) -> int: ... + def getNumberOfOilFractionComponents(self) -> int: ... + def getNumberOfPhases(self) -> int: ... + 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]: ... + def getOilFractionNormalBoilingPoints(self) -> typing.MutableSequence[float]: ... + def getPC(self) -> float: ... + @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: ... + @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: ... + @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: ... + @typing.overload + 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]: ... + @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: ... + @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: ... + @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]]: ... + @typing.overload + def getSoundSpeed(self) -> float: ... + @typing.overload + def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getStandard(self) -> jneqsim.standards.StandardInterface: ... + @typing.overload + def getStandard(self, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... + def getSumBeta(self) -> float: ... + def getTC(self) -> float: ... + @typing.overload + def getTemperature(self, int: int) -> float: ... + @typing.overload + def getTemperature(self) -> float: ... + @typing.overload + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getThermalConductivity(self) -> float: ... + @typing.overload + def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalNumberOfMoles(self) -> float: ... + @typing.overload + def getViscosity(self) -> float: ... + @typing.overload + def getViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... + @typing.overload + def getVolume(self) -> float: ... + def getVolumeFraction(self, int: int) -> float: ... + 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: ... + def getZ(self) -> float: ... + def getZvolcorr(self) -> float: ... + def getdPdVtn(self) -> float: ... + def getdVdPtn(self) -> float: ... + def getdVdTpn(self) -> float: ... + def getzvector(self) -> typing.MutableSequence[float]: ... + @typing.overload + def hasPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> bool: ... + @typing.overload + def hasPhaseType(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def hasPlusFraction(self) -> bool: ... + def hasTBPFraction(self) -> bool: ... + @typing.overload + def init(self, int: int) -> None: ... + @typing.overload + def init(self, int: int, int2: int) -> None: ... + @typing.overload + def initAnalytic(self, int: int) -> None: ... + @typing.overload + def initAnalytic(self, int: int, int2: int) -> None: ... + def initBeta(self) -> None: ... + @typing.overload + def initNumeric(self) -> None: ... + @typing.overload + def initNumeric(self, int: int) -> None: ... + @typing.overload + def initNumeric(self, int: int, int2: int) -> None: ... + @typing.overload + 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 initRefPhases(self) -> None: ... + def initTotalNumberOfMoles(self, double: float) -> None: ... + def init_x_y(self) -> None: ... + def invertPhaseTypes(self) -> None: ... + def isBetaValid(self) -> bool: ... + @typing.overload + def isChemicalSystem(self) -> bool: ... + @typing.overload + def isChemicalSystem(self, boolean: bool) -> None: ... + def isForcePhaseTypes(self) -> bool: ... + @typing.overload + def isImplementedCompositionDeriativesofFugacity(self) -> bool: ... + @typing.overload + def isImplementedCompositionDeriativesofFugacity(self, boolean: bool) -> None: ... + def isImplementedPressureDeriativesofFugacity(self) -> bool: ... + def isImplementedTemperatureDeriativesofFugacity(self) -> bool: ... + def isInitialized(self) -> bool: ... + def isMultiphaseWaxCheck(self) -> bool: ... + def isNumericDerivatives(self) -> bool: ... + def isPhase(self, int: int) -> bool: ... + def normalizeBeta(self) -> None: ... + def orderByDensity(self) -> None: ... + @typing.overload + def phaseToSystem(self, int: int) -> SystemInterface: ... + @typing.overload + def phaseToSystem(self, int: int, int2: int) -> SystemInterface: ... + @typing.overload + def phaseToSystem(self, string: typing.Union[java.lang.String, str]) -> SystemInterface: ... + @typing.overload + 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 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 reset(self) -> None: ... + def resetCharacterisation(self) -> None: ... + def resetDatabase(self) -> None: ... + def resetPhysicalProperties(self) -> None: ... + def reset_x_y(self) -> None: ... + def save(self, string: typing.Union[java.lang.String, str]) -> None: ... + @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 saveToDataBase(self) -> None: ... + def setAllComponentsInPhase(self, int: int) -> None: ... + def setAllPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def setAttractiveTerm(self, int: int) -> None: ... + @typing.overload + def setBeta(self, double: float) -> None: ... + @typing.overload + def setBeta(self, int: int, double: float) -> None: ... + @typing.overload + 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 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: ... + @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 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: ... + @typing.overload + 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: ... + def setLastTBPasPlus(self) -> bool: ... + def setMaxNumberOfPhases(self, int: int) -> None: ... + @typing.overload + def setMixingRule(self, int: int) -> 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: ... + @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 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 setPhaseIndex(self, int: int, int2: int) -> None: ... + @typing.overload + 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: ... + @typing.overload + def setPressure(self, double: float) -> None: ... + @typing.overload + 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 setStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTC(self, double: float) -> None: ... + @typing.overload + def setTemperature(self, double: float, int: int) -> 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 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 synchronizeSinglePhaseReactionComposition(self, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> 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 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: ... class __module_protocol__(Protocol): @@ -1856,6 +1917,7 @@ class __module_protocol__(Protocol): FluidBuilder: typing.Type[FluidBuilder] HybridEosGeFlashModel: typing.Type[HybridEosGeFlashModel] SystemAmmoniaEos: typing.Type[SystemAmmoniaEos] + SystemArgonSolidHelmholtzEos: typing.Type[SystemArgonSolidHelmholtzEos] SystemBWRSEos: typing.Type[SystemBWRSEos] SystemBnsEos: typing.Type[SystemBnsEos] SystemCSPsrkEos: typing.Type[SystemCSPsrkEos] @@ -1895,6 +1957,7 @@ class __module_protocol__(Protocol): SystemPsrkEos: typing.Type[SystemPsrkEos] SystemRKEos: typing.Type[SystemRKEos] SystemSAFTVRMie: typing.Type[SystemSAFTVRMie] + SystemSolidHelmholtzEos: typing.Type[SystemSolidHelmholtzEos] SystemSoreideWhitson: typing.Type[SystemSoreideWhitson] SystemSpanWagnerEos: typing.Type[SystemSpanWagnerEos] SystemSrkCPA: typing.Type[SystemSrkCPA] diff --git a/src/jneqsim-stubs/thermo/util/__init__.pyi b/src/jneqsim-stubs/thermo/util/__init__.pyi index fe0866a0..64e5c73f 100644 --- a/src/jneqsim-stubs/thermo/util/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/__init__.pyi @@ -21,6 +21,7 @@ import jneqsim.thermo.util.jni import jneqsim.thermo.util.leachman import jneqsim.thermo.util.readwrite import jneqsim.thermo.util.referenceequations +import jneqsim.thermo.util.solid import jneqsim.thermo.util.spanwagner import jneqsim.thermo.util.steam import jneqsim.thermo.util.sulfur @@ -96,6 +97,7 @@ class __module_protocol__(Protocol): leachman: jneqsim.thermo.util.leachman.__module_protocol__ readwrite: jneqsim.thermo.util.readwrite.__module_protocol__ referenceequations: jneqsim.thermo.util.referenceequations.__module_protocol__ + solid: jneqsim.thermo.util.solid.__module_protocol__ spanwagner: jneqsim.thermo.util.spanwagner.__module_protocol__ steam: jneqsim.thermo.util.steam.__module_protocol__ sulfur: jneqsim.thermo.util.sulfur.__module_protocol__ diff --git a/src/jneqsim-stubs/thermo/util/gerg/__init__.pyi b/src/jneqsim-stubs/thermo/util/gerg/__init__.pyi index 3b266f12..512cad53 100644 --- a/src/jneqsim-stubs/thermo/util/gerg/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/gerg/__init__.pyi @@ -129,6 +129,7 @@ class NeqSimEOSCG: 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 getResidualHelmholtzEnergy(self, double: float, double2: float) -> float: ... def normalizeComposition(self) -> None: ... def propertiesEOSCG(self) -> typing.MutableSequence[float]: ... def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... @@ -156,6 +157,7 @@ class NeqSimGERG2008: 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 getResidualHelmholtzEnergy(self, double: float, double2: float) -> float: ... @staticmethod def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... def normalizeComposition(self) -> None: ... diff --git a/src/jneqsim-stubs/thermo/util/solid/__init__.pyi b/src/jneqsim-stubs/thermo/util/solid/__init__.pyi new file mode 100644 index 00000000..53d7cd90 --- /dev/null +++ b/src/jneqsim-stubs/thermo/util/solid/__init__.pyi @@ -0,0 +1,71 @@ + +import sys +if sys.version_info >= (3, 8): + from typing import Protocol +else: + from typing_extensions import Protocol + +import java.io +import typing + + + +class SolidHelmholtzEquation(java.io.Serializable): + def evaluate(self, double: float, double2: float) -> 'SolidHelmholtzState': ... + def getTriplePointPressure(self) -> float: ... + +class SolidHelmholtzState(java.io.Serializable): + def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float): ... + def getEnthalpy(self) -> float: ... + def getEntropy(self) -> float: ... + def getGibbsEnergy(self) -> float: ... + def getHeatCapacityCp(self) -> float: ... + def getHeatCapacityCv(self) -> float: ... + def getHelmholtzEnergy(self) -> float: ... + def getInternalEnergy(self) -> float: ... + def getLogFugacityCoefficient(self) -> float: ... + def getMolarVolume(self) -> float: ... + +class ArgonSolidHelmholtzEquation(SolidHelmholtzEquation): + TRIPLE_POINT_TEMPERATURE: typing.ClassVar[float] = ... + TRIPLE_POINT_PRESSURE: typing.ClassVar[float] = ... + TRIPLE_POINT_ENTROPY_OF_MELTING: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def calculateHelmholtzEnergy(self, double: float, double2: float) -> float: ... + def calculateIsentropicCompressibility(self, double: float, double2: float) -> float: ... + def calculateIsothermalCompressibility(self, double: float, double2: float) -> float: ... + def calculatePressure(self, double: float, double2: float) -> float: ... + def calculateThermalExpansivity(self, double: float, double2: float) -> float: ... + def calculateThermalGruneisenCoefficient(self, double: float, double2: float) -> float: ... + def evaluate(self, double: float, double2: float) -> SolidHelmholtzState: ... + def evaluateAtMolarVolume(self, double: float, double2: float) -> SolidHelmholtzState: ... + def getTriplePointEntropyShift(self) -> float: ... + def getTriplePointGibbsShift(self) -> float: ... + def getTriplePointPressure(self) -> float: ... + +class ParaHydrogenSolidHelmholtzEquation(SolidHelmholtzEquation): + TRIPLE_POINT_TEMPERATURE: typing.ClassVar[float] = ... + TRIPLE_POINT_PRESSURE: typing.ClassVar[float] = ... + TRIPLE_POINT_ENTHALPY_OF_FUSION: typing.ClassVar[float] = ... + @typing.overload + def __init__(self): ... + @typing.overload + def __init__(self, double: float, double2: float): ... + def calculateHelmholtzEnergy(self, double: float, double2: float) -> float: ... + def calculatePressure(self, double: float, double2: float) -> float: ... + def evaluate(self, double: float, double2: float) -> SolidHelmholtzState: ... + def getTriplePointEntropyShift(self) -> float: ... + def getTriplePointGibbsShift(self) -> float: ... + def getTriplePointPressure(self) -> float: ... + + +class __module_protocol__(Protocol): + # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.solid")``. + + ArgonSolidHelmholtzEquation: typing.Type[ArgonSolidHelmholtzEquation] + ParaHydrogenSolidHelmholtzEquation: typing.Type[ParaHydrogenSolidHelmholtzEquation] + SolidHelmholtzEquation: typing.Type[SolidHelmholtzEquation] + SolidHelmholtzState: typing.Type[SolidHelmholtzState] diff --git a/src/jneqsim-stubs/thermodynamicoperations/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/__init__.pyi index 2ab31971..bd50d315 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/__init__.pyi @@ -10,9 +10,11 @@ import java.lang import java.util import jpype import jneqsim.api.ioc +import jneqsim.thermo.phase import jneqsim.thermo.system import jneqsim.thermodynamicoperations.chemicalequilibrium import jneqsim.thermodynamicoperations.flashops +import jneqsim.thermodynamicoperations.flashops.saturationops import jneqsim.thermodynamicoperations.phaseenvelopeops import jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops import jneqsim.thermodynamicoperations.propertygenerator @@ -157,6 +159,7 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): def calcPTphaseEnvelopeWithStabilityAnalysis(self) -> None: ... def calcPloadingCurve(self) -> None: ... def calcSaltSaturation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def calcSaltSaturationWithDiagnostics(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermodynamicoperations.flashops.saturationops.SaltSaturationResult: ... @typing.overload def calcSolidComlexTemperature(self) -> None: ... @typing.overload @@ -183,11 +186,15 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): def dewPointTemperatureFlash(self, boolean: bool) -> None: ... def display(self) -> None: ... def displayResult(self) -> None: ... + def electrolytePhaseBoundaryPressureFlash(self, phaseType: jneqsim.thermo.phase.PhaseType, double: float, double2: float, double3: float, int: int) -> jneqsim.thermodynamicoperations.flashops.saturationops.ElectrolytePhaseBoundaryResult: ... + def electrolytePhaseBoundaryTemperatureFlash(self, phaseType: jneqsim.thermo.phase.PhaseType, double: float, double2: float, double3: float, int: int) -> jneqsim.thermodynamicoperations.flashops.saturationops.ElectrolytePhaseBoundaryResult: ... + def equilibrateScales(self, multiSaltPrecipitationResult: jneqsim.thermodynamicoperations.flashops.saturationops.MultiSaltPrecipitationResult) -> jneqsim.thermodynamicoperations.flashops.saturationops.MultiSaltPrecipitationResult: ... 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 freezingPointTemperatureFlashResult(self) -> jneqsim.thermodynamicoperations.flashops.saturationops.FreezingPointResult: ... def gasHydrateTPflash(self) -> None: ... @typing.overload def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... @@ -220,8 +227,11 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): @typing.overload def hydrateTPflash(self, boolean: bool) -> None: ... def isRunAsThread(self) -> bool: ... + def precipitateScale(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermodynamicoperations.flashops.saturationops.SaltPrecipitationResult: ... + def precipitateScales(self, *string: typing.Union[java.lang.String, str]) -> jneqsim.thermodynamicoperations.flashops.saturationops.MultiSaltPrecipitationResult: ... 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 qualifyCalciumSulfatePhaseBoundary(self) -> jneqsim.thermodynamicoperations.flashops.saturationops.CalciumSulfatePhaseBoundaryQualification: ... def reactivePHflash(self, double: float, int: int) -> None: ... def reactivePSflash(self, double: float) -> None: ... def reactiveTPflash(self) -> None: ... diff --git a/src/jneqsim-stubs/thermodynamicoperations/flashops/reactiveflash/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/flashops/reactiveflash/__init__.pyi index 5f785799..aa2fdf51 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/flashops/reactiveflash/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/flashops/reactiveflash/__init__.pyi @@ -44,6 +44,7 @@ class FormulaMatrix(java.io.Serializable): class ModifiedRANDSolver(java.io.Serializable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, formulaMatrix: FormulaMatrix): ... def getDiisStepsAccepted(self) -> int: ... + def getFinalElementResidual(self) -> float: ... def getFinalResidual(self) -> float: ... def getG0(self) -> typing.MutableSequence[float]: ... def getIterationsUsed(self) -> int: ... @@ -56,6 +57,7 @@ class ModifiedRANDSolver(java.io.Serializable): def isConverged(self) -> bool: ... def isElectrolyteEOS(self) -> bool: ... def isUseDIIS(self) -> bool: ... + def setElementBalance(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... def setUseDIIS(self, boolean: bool) -> None: ... def solve(self) -> bool: ... @@ -90,7 +92,9 @@ class ReactiveMultiphaseTPflash(jneqsim.thermodynamicoperations.BaseOperation): def getDiisStepsAccepted(self) -> int: ... def getEquilibriumMoles(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getEquilibriumTotalMoles(self) -> float: ... + def getFinalElementResidual(self) -> float: ... def getFinalGibbsEnergy(self) -> float: ... + def getFinalResidual(self) -> float: ... def getFormulaMatrix(self) -> FormulaMatrix: ... def getLagrangeMultipliers(self) -> typing.MutableSequence[float]: ... def getNumberOfReactions(self) -> int: ... diff --git a/src/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi index eecad98a..216bd6bc 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi @@ -7,8 +7,10 @@ else: import java.io import java.lang +import java.util import jpype import jneqsim.thermo +import jneqsim.thermo.phase import jneqsim.thermo.system import jneqsim.thermodynamicoperations import org.jfree.chart @@ -16,6 +18,45 @@ import typing +class CalciumSulfatePhaseBoundaryQualification(java.io.Serializable): + REFERENCE_PRESSURE_BARA: typing.ClassVar[float] = ... + EVIDENCE_DOI: typing.ClassVar[java.lang.String] = ... + PRIMARY_LINEAGE_DOI: typing.ClassVar[java.lang.String] = ... + HIGH_PRESSURE_LINEAGE_DOI: typing.ClassVar[java.lang.String] = ... + EVIDENCE_LICENSE: typing.ClassVar[java.lang.String] = ... + COMPSALT_PRESSURE_CORRECTION_REFERENCE_BARA: typing.ClassVar[float] = ... + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... + def formatDiagnostic(self) -> java.lang.String: ... + def getAnhydriteLogKspPressureCorrection(self) -> float: ... + def getAnhydriteLumpedReactionVolumeCm3PerMol(self) -> float: ... + def getDecision(self) -> java.lang.String: ... + def getEvaluatedPressureBara(self) -> float: ... + def getEvaluatedTemperatureKelvin(self) -> float: ... + def getEvidenceDoi(self) -> java.lang.String: ... + def getEvidenceLicense(self) -> java.lang.String: ... + def getGypsumLogKspPressureCorrection(self) -> float: ... + def getGypsumLumpedReactionVolumeCm3PerMol(self) -> float: ... + def getHighPressureLineageDoi(self) -> java.lang.String: ... + def getLimitations(self) -> java.util.List[java.lang.String]: ... + def getPredictedPureWaterTransitionAtEvaluatedPressureCelsius(self) -> float: ... + def getPredictedPureWaterTransitionCelsius(self) -> float: ... + def getPrimaryLineageDoi(self) -> java.lang.String: ... + def getPureWaterEvidenceMaximumCelsius(self) -> float: ... + def getPureWaterEvidenceMinimumCelsius(self) -> float: ... + def getRequiredWaterActivityAt25Celsius(self) -> float: ... + def getRequiredWaterActivityAt40Celsius(self) -> float: ... + def getSodiumChloride25CWaterActivityMaximum(self) -> float: ... + def getSodiumChloride25CWaterActivityMinimum(self) -> float: ... + def getSodiumChloride40CWaterActivityMaximum(self) -> float: ... + def getSodiumChloride40CWaterActivityMinimum(self) -> float: ... + def isAqueousSpeciesVolumeResolved(self) -> bool: ... + def isHighPressureQualified(self) -> bool: ... + def isPublicationReady(self) -> bool: ... + def isPureWaterEnvelopePass(self) -> bool: ... + def isReferencePressureEnvelopePass(self) -> bool: ... + def isSodiumChloride25CEnvelopePass(self) -> bool: ... + def isSodiumChloride40CEnvelopePass(self) -> bool: ... + class ConstantDutyFlashInterface(jneqsim.thermodynamicoperations.OperationInterface): def isSuperCritical(self) -> bool: ... @@ -43,6 +84,99 @@ class CricondenBarTemp1(java.io.Serializable): def setu(self) -> None: ... def solve(self) -> float: ... +class ElectrolytePhaseBoundaryFlash: + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, specification: 'ElectrolytePhaseBoundaryResult.Specification', phaseType: jneqsim.thermo.phase.PhaseType, double: float, double2: float, double3: float, int: int): ... + def solve(self) -> 'ElectrolytePhaseBoundaryResult': ... + +class ElectrolytePhaseBoundaryResult(java.io.Serializable): + @typing.overload + def __init__(self, specification: 'ElectrolytePhaseBoundaryResult.Specification', phaseType: jneqsim.thermo.phase.PhaseType, double: float, double2: float, boolean: bool, double3: float, double4: float, int: int, int2: int, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double5: float, double6: float, double7: float, double8: float, double9: float): ... + @typing.overload + def __init__(self, specification: 'ElectrolytePhaseBoundaryResult.Specification', phaseType: jneqsim.thermo.phase.PhaseType, double: float, double2: float, boolean: bool, double3: float, double4: float, int: int, int2: int, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float): ... + def getAqueousChargeMolality(self) -> float: ... + def getBoundaryValue(self) -> float: ... + def getBracketWidth(self) -> float: ... + def getFlashEvaluations(self) -> int: ... + def getIterations(self) -> int: ... + def getLowerBound(self) -> float: ... + def getLowerTopology(self) -> java.lang.String: ... + def getMaximumAbsoluteElementBalanceResidual(self) -> float: ... + def getMaximumAbsoluteReactionLogResidual(self) -> float: ... + def getMaximumIonMoleFractionOutsideAqueous(self) -> float: ... + def getMaximumLogFugacityResidual(self) -> float: ... + def getMaximumMaterialBalanceResidual(self) -> float: ... + def getMaximumPhaseNormalizationResidual(self) -> float: ... + def getSpecification(self) -> 'ElectrolytePhaseBoundaryResult.Specification': ... + def getTargetPhase(self) -> jneqsim.thermo.phase.PhaseType: ... + def getTargetPhaseFraction(self) -> float: ... + def getTargetPresentValue(self) -> float: ... + def getUpperBound(self) -> float: ... + def getUpperTopology(self) -> java.lang.String: ... + def isTargetPresentAtLowerBound(self) -> bool: ... + class Specification(java.lang.Enum['ElectrolytePhaseBoundaryResult.Specification']): + PRESSURE: typing.ClassVar['ElectrolytePhaseBoundaryResult.Specification'] = ... + TEMPERATURE: typing.ClassVar['ElectrolytePhaseBoundaryResult.Specification'] = ... + _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + @typing.overload + @staticmethod + def valueOf(class_: typing.Type[_valueOf_0__T], string: typing.Union[java.lang.String, str]) -> _valueOf_0__T: ... + @typing.overload + @staticmethod + def valueOf(string: typing.Union[java.lang.String, str]) -> 'ElectrolytePhaseBoundaryResult.Specification': ... + @staticmethod + def values() -> typing.MutableSequence['ElectrolytePhaseBoundaryResult.Specification']: ... + +class FreezingPointResult(java.io.Serializable): + @staticmethod + def converged(double: float, int: int, double2: float, string: typing.Union[java.lang.String, str]) -> 'FreezingPointResult': ... + @staticmethod + def failed(int: int, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'FreezingPointResult': ... + def getComponentName(self) -> java.lang.String: ... + def getFailureReason(self) -> java.lang.String: ... + def getIterations(self) -> int: ... + def getResidual(self) -> float: ... + def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def isConverged(self) -> bool: ... + +class MultiSaltPrecipitation: + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, *string: typing.Union[java.lang.String, str]): ... + @typing.overload + def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, multiSaltPrecipitationResult: 'MultiSaltPrecipitationResult'): ... + def solve(self) -> 'MultiSaltPrecipitationResult': ... + +class MultiSaltPrecipitationResult(java.io.Serializable): + def getEquilibriumUpdates(self) -> int: ... + def getMaximumComplementarityViolation(self) -> float: ... + def getMaximumComponentBalanceResidualMoles(self) -> float: ... + def getMaximumNormalizedBalanceResidual(self) -> float: ... + def getMineralResult(self, string: typing.Union[java.lang.String, str]) -> 'SaltPrecipitationResult': ... + def getMineralResults(self) -> java.util.Map[java.lang.String, 'SaltPrecipitationResult']: ... + def getTotalPrecipitatedMassGrams(self) -> float: ... + +class SaltPrecipitationResult(java.io.Serializable): + def getComplementarityViolation(self) -> float: ... + def getFinalSaturationRatio(self) -> float: ... + def getInitialSaturationRatio(self) -> float: ... + def getMaximumIonBalanceResidualMoles(self) -> float: ... + def getPrecipitatedMassGrams(self) -> float: ... + def getPrecipitatedMoles(self) -> float: ... + def getSaltName(self) -> java.lang.String: ... + def hasPrecipitatedSolid(self) -> bool: ... + +class SaltSaturationResult(java.io.Serializable): + def getAbsoluteSaturationRatioResidual(self) -> float: ... + def getAddedSaltMoles(self) -> float: ... + def getBracketIterations(self) -> int: ... + def getFinalSaturationRatio(self) -> float: ... + def getInitialSaturationRatio(self) -> float: ... + def getSaltName(self) -> java.lang.String: ... + def getSolveIterations(self) -> int: ... + def getThermodynamicInitializationCount(self) -> int: ... + def isAlreadySaturated(self) -> bool: ... + def isConverged(self) -> bool: ... + def isIterationLimitReached(self) -> bool: ... + class ConstantDutyFlash(ConstantDutyFlashInterface): @typing.overload def __init__(self): ... @@ -140,6 +274,8 @@ class BubblePointTemperatureNoDer(ConstantDutyTemperatureFlash): class CalcSaltSatauration(ConstantDutyTemperatureFlash): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]): ... + def getResult(self) -> SaltSaturationResult: ... + def precipitate(self) -> SaltPrecipitationResult: ... def run(self) -> None: ... class CapillaryDewPointFlash(ConstantDutyTemperatureFlash): @@ -206,6 +342,7 @@ class FreezingPointTemperatureFlash(ConstantDutyTemperatureFlash, jneqsim.thermo @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... def calcFunc(self) -> float: ... + def getResult(self) -> FreezingPointResult: ... @typing.overload def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload @@ -341,6 +478,7 @@ class __module_protocol__(Protocol): BubblePointTemperatureFlash: typing.Type[BubblePointTemperatureFlash] BubblePointTemperatureNoDer: typing.Type[BubblePointTemperatureNoDer] CalcSaltSatauration: typing.Type[CalcSaltSatauration] + CalciumSulfatePhaseBoundaryQualification: typing.Type[CalciumSulfatePhaseBoundaryQualification] CapillaryDewPointFlash: typing.Type[CapillaryDewPointFlash] CheckScalePotential: typing.Type[CheckScalePotential] ConstantDutyFlash: typing.Type[ConstantDutyFlash] @@ -353,7 +491,10 @@ class __module_protocol__(Protocol): DewPointPressureFlash: typing.Type[DewPointPressureFlash] DewPointTemperatureFlash: typing.Type[DewPointTemperatureFlash] DewPointTemperatureFlashDer: typing.Type[DewPointTemperatureFlashDer] + ElectrolytePhaseBoundaryFlash: typing.Type[ElectrolytePhaseBoundaryFlash] + ElectrolytePhaseBoundaryResult: typing.Type[ElectrolytePhaseBoundaryResult] FreezeOut: typing.Type[FreezeOut] + FreezingPointResult: typing.Type[FreezingPointResult] FreezingPointTemperatureFlash: typing.Type[FreezingPointTemperatureFlash] FreezingPointTemperatureFlashOld: typing.Type[FreezingPointTemperatureFlashOld] FreezingPointTemperatureFlashTR: typing.Type[FreezingPointTemperatureFlashTR] @@ -364,6 +505,10 @@ class __module_protocol__(Protocol): HydrateFormationTemperatureFlash: typing.Type[HydrateFormationTemperatureFlash] HydrateInhibitorConcentrationFlash: typing.Type[HydrateInhibitorConcentrationFlash] HydrateInhibitorwtFlash: typing.Type[HydrateInhibitorwtFlash] + MultiSaltPrecipitation: typing.Type[MultiSaltPrecipitation] + MultiSaltPrecipitationResult: typing.Type[MultiSaltPrecipitationResult] + SaltPrecipitationResult: typing.Type[SaltPrecipitationResult] + SaltSaturationResult: typing.Type[SaltSaturationResult] SolidComplexTemperatureCalc: typing.Type[SolidComplexTemperatureCalc] WATcalc: typing.Type[WATcalc] WaterDewPointEquilibriumLine: typing.Type[WaterDewPointEquilibriumLine] diff --git a/src/jneqsim-stubs/util/agentic/__init__.pyi b/src/jneqsim-stubs/util/agentic/__init__.pyi index 59b55e39..2fd6379f 100644 --- a/src/jneqsim-stubs/util/agentic/__init__.pyi +++ b/src/jneqsim-stubs/util/agentic/__init__.pyi @@ -19,6 +19,8 @@ class AgentBenchmarkSuite(java.io.Serializable): def addProblem(self, benchmarkProblem: 'AgentBenchmarkSuite.BenchmarkProblem') -> None: ... def addResult(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... @staticmethod + def createControlsSuite() -> 'AgentBenchmarkSuite': ... + @staticmethod def createStandardSuite() -> 'AgentBenchmarkSuite': ... def evaluate(self) -> 'AgentBenchmarkSuite.BenchmarkReport': ... def getProblems(self) -> java.util.List['AgentBenchmarkSuite.BenchmarkProblem']: ... @@ -66,6 +68,7 @@ class AgentBenchmarkSuite(java.io.Serializable): PIPELINE: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... ECONOMICS: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... SAFETY: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... + CONTROL: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # @typing.overload @staticmethod diff --git a/src/jpype-stubs/__init__.pyi b/src/jpype-stubs/__init__.pyi index 380acf75..781179d3 100644 --- a/src/jpype-stubs/__init__.pyi +++ b/src/jpype-stubs/__init__.pyi @@ -1,8 +1,8 @@ import types import typing -import sys +import sys if sys.version_info >= (3, 8): from typing import Literal else: @@ -10,8 +10,13 @@ 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/data/neqsim_api.json.gz b/src/neqsim/data/neqsim_api.json.gz index fdd5e108..cc14a55e 100644 Binary files a/src/neqsim/data/neqsim_api.json.gz and b/src/neqsim/data/neqsim_api.json.gz differ diff --git a/src/neqsim/lib/neqsim-3.18.0.jar b/src/neqsim/lib/neqsim-3.19.0.jar similarity index 93% rename from src/neqsim/lib/neqsim-3.18.0.jar rename to src/neqsim/lib/neqsim-3.19.0.jar index e0a45076..8f000e96 100644 Binary files a/src/neqsim/lib/neqsim-3.18.0.jar and b/src/neqsim/lib/neqsim-3.19.0.jar differ diff --git a/src/neqsim/neqsim-python.code-workspace b/src/neqsim/neqsim-python.code-workspace index 56a1a269..fd2479a2 100644 --- a/src/neqsim/neqsim-python.code-workspace +++ b/src/neqsim/neqsim-python.code-workspace @@ -13,4 +13,4 @@ "settings": { "java.configuration.updateBuildConfiguration": "interactive" } -} \ No newline at end of file +} diff --git a/src/neqsim/thermo/component_names.pyi b/src/neqsim/thermo/component_names.pyi index 9b9d20d9..1fe4d2f1 100644 --- a/src/neqsim/thermo/component_names.pyi +++ b/src/neqsim/thermo/component_names.pyi @@ -4,191 +4,191 @@ from typing import Literal, Tuple COMPONENTS: Tuple[str, ...] ComponentName = Literal[ - '-OOCPZCOO-', - '1,1,3-TM-cy-C6', - '1,2,3-TM-Benzene', - '1,2,3-TMcyC6', - '1,2,4-TMcyC6', - '1,2-DM-cyC5', - '1,3-dDM-cyC5', - '1,cis-2,trans-4-TMcyC5', - '1-propanol', - '11-DM-cy-C5', - '113-TM-cy-C5', - '2,2-DM-C7', - '2,3-DM-C6', - '2,6-DM-C7', - '2-E-p-xylene', - '2-M-C6', - '2-M-C7', - '2-M-C8', - '2-m-C5', - '22-DM-C5', - '22-DM-C6', - '22-dim-C3', - '22-dim-C4', - '223-TM-C4', - '224-TM-C5', - '23-DM-C5', - '23-dim-C4', - '234-TM-C5', - '24-DM-C5', - '24-DM-C6', - '25-DM-C6', - '3-E-C6', - '3-M-4,4-DE-heptane', - '3-M-C6', - '3-M-C7', - '3-M-C8', - '3-m-C5', - '33-DM-C5', - '33-DM-C6', - '4-M-C8', - 'Ac-', - 'Ba++', - 'Br-', - 'CO', - 'CO2', - 'CO22', - 'CO23', - 'CO3--', - 'COS', - 'Ca++', - 'CaCO3', - 'CaCl2', - 'Cl-', - 'ClO4-', - 'Cs+', - 'DEA', - 'DEA+', - 'DEACOO-', - 'DEG', - 'E-cy-C5', - 'F-', - 'Fe++', - 'H+PZCOO-', - 'H2S', - 'H3O+', - 'HCO3-', - 'HS-', - 'Hg++', - 'I-', - 'K+', - 'Li+', - 'M-cy-C5', - 'M-cy-C6', - 'MDEA', - 'MDEA+', - 'MEG', - 'MEGPVTsim18', - 'MEGPVTsim19', - 'Mg++', - 'NH4+', - 'NO3-', - 'Na+', - 'NaCl', - 'OH-', - 'PZCOO-', - 'Pb++', - 'Pent-CC6', - 'Piperazine', - 'Piperazine+', - 'Piperazine++', - 'R12', - 'R134a', - 'Rb+', - 'S--', - 'S8', - 'SF6', - 'SO4--', - 'Sr++', - 'TEG', - 'acetic acid', - 'acetone', - 'argon', - 'benzene', - 'c-C4', - 'c-C5', - 'c-C7', - 'c-C8', - 'c-hexane', - 'c-propane', - 'cis-12-DM-cy-C6', - 'cis-13-DM-cy-C5', - 'cis-13-DM-cy-C6', - 'cy-C9', - 'default', - 'ethane', - 'ethanol', - 'ethanolPVTsim', - 'ethylbenzene', - 'ethylcyclohexane', - 'glycerol', - 'helium', - 'hydrogen', - 'i-butane', - 'i-p-cy-C5', - 'i-pentane', - 'i-propanol', - 'ice', - 'm-Xylene', - 'mercury', - 'methane', - 'methanol', - 'methanolPVTsim', - 'n-Bcychexane', - 'n-butane', - 'n-heptane', - 'n-hexane', - 'n-nonane', - 'n-octane', - 'n-pentane', - 'nC10', - 'nC10-Benzene', - 'nC10-cy-C5', - 'nC11', - 'nC12', - 'nC12-cy-C5', - 'nC13', - 'nC14', - 'nC14-cy-C5', - 'nC15', - 'nC16', - 'nC17', - 'nC17-cy-C5', - 'nC18', - 'nC19', - 'nC20', - 'nC21', - 'nC22', - 'nC23', - 'nC24', - 'nC25', - 'nC26', - 'nC27', - 'nC28', - 'nC29', - 'nC30', - 'nC34', - 'nC39', - 'nC5-Benzene', - 'nC6-Benzene', - 'nC7-Benzene', - 'nC8-Benzene', - 'nC9-Benzene', - 'nbutanePVTsim', - 'neon', - 'nitrogen', - 'o-E-toluene', - 'o-Xylene', - 'oxygen', - 'p-Xylene', - 'propane', - 'propanePVTsim', - 'propylbenzene', - 'sulfur(S8)asphaltene', - 'toluene', - 'trans-12-DM-cy-C5', - 'trans-13-DM-cy-C5', - 'water', + "-OOCPZCOO-", + "1,1,3-TM-cy-C6", + "1,2,3-TM-Benzene", + "1,2,3-TMcyC6", + "1,2,4-TMcyC6", + "1,2-DM-cyC5", + "1,3-dDM-cyC5", + "1,cis-2,trans-4-TMcyC5", + "1-propanol", + "11-DM-cy-C5", + "113-TM-cy-C5", + "2,2-DM-C7", + "2,3-DM-C6", + "2,6-DM-C7", + "2-E-p-xylene", + "2-M-C6", + "2-M-C7", + "2-M-C8", + "2-m-C5", + "22-DM-C5", + "22-DM-C6", + "22-dim-C3", + "22-dim-C4", + "223-TM-C4", + "224-TM-C5", + "23-DM-C5", + "23-dim-C4", + "234-TM-C5", + "24-DM-C5", + "24-DM-C6", + "25-DM-C6", + "3-E-C6", + "3-M-4,4-DE-heptane", + "3-M-C6", + "3-M-C7", + "3-M-C8", + "3-m-C5", + "33-DM-C5", + "33-DM-C6", + "4-M-C8", + "Ac-", + "Ba++", + "Br-", + "CO", + "CO2", + "CO22", + "CO23", + "CO3--", + "COS", + "Ca++", + "CaCO3", + "CaCl2", + "Cl-", + "ClO4-", + "Cs+", + "DEA", + "DEA+", + "DEACOO-", + "DEG", + "E-cy-C5", + "F-", + "Fe++", + "H+PZCOO-", + "H2S", + "H3O+", + "HCO3-", + "HS-", + "Hg++", + "I-", + "K+", + "Li+", + "M-cy-C5", + "M-cy-C6", + "MDEA", + "MDEA+", + "MEG", + "MEGPVTsim18", + "MEGPVTsim19", + "Mg++", + "NH4+", + "NO3-", + "Na+", + "NaCl", + "OH-", + "PZCOO-", + "Pb++", + "Pent-CC6", + "Piperazine", + "Piperazine+", + "Piperazine++", + "R12", + "R134a", + "Rb+", + "S--", + "S8", + "SF6", + "SO4--", + "Sr++", + "TEG", + "acetic acid", + "acetone", + "argon", + "benzene", + "c-C4", + "c-C5", + "c-C7", + "c-C8", + "c-hexane", + "c-propane", + "cis-12-DM-cy-C6", + "cis-13-DM-cy-C5", + "cis-13-DM-cy-C6", + "cy-C9", + "default", + "ethane", + "ethanol", + "ethanolPVTsim", + "ethylbenzene", + "ethylcyclohexane", + "glycerol", + "helium", + "hydrogen", + "i-butane", + "i-p-cy-C5", + "i-pentane", + "i-propanol", + "ice", + "m-Xylene", + "mercury", + "methane", + "methanol", + "methanolPVTsim", + "n-Bcychexane", + "n-butane", + "n-heptane", + "n-hexane", + "n-nonane", + "n-octane", + "n-pentane", + "nC10", + "nC10-Benzene", + "nC10-cy-C5", + "nC11", + "nC12", + "nC12-cy-C5", + "nC13", + "nC14", + "nC14-cy-C5", + "nC15", + "nC16", + "nC17", + "nC17-cy-C5", + "nC18", + "nC19", + "nC20", + "nC21", + "nC22", + "nC23", + "nC24", + "nC25", + "nC26", + "nC27", + "nC28", + "nC29", + "nC30", + "nC34", + "nC39", + "nC5-Benzene", + "nC6-Benzene", + "nC7-Benzene", + "nC8-Benzene", + "nC9-Benzene", + "nbutanePVTsim", + "neon", + "nitrogen", + "o-E-toluene", + "o-Xylene", + "oxygen", + "p-Xylene", + "propane", + "propanePVTsim", + "propylbenzene", + "sulfur(S8)asphaltene", + "toluene", + "trans-12-DM-cy-C5", + "trans-13-DM-cy-C5", + "water", ] diff --git a/tests/test_generate_stubs.py b/tests/test_generate_stubs.py new file mode 100644 index 00000000..5c2b2079 --- /dev/null +++ b/tests/test_generate_stubs.py @@ -0,0 +1,21 @@ +from scripts.generate_stubs import sanitize_python_local_references + + +def test_sanitize_python_local_references(tmp_path): + stub = tmp_path / "example.pyi" + stub.write_text( + "from jneqsim.display import register.._StreamDisplay\n" + "import typing\n\n" + "class Stream(JavaBase, register.._StreamDisplay): ...\n" + "class DisplayOnly(register.._StreamDisplay): ... \n\n", + encoding="utf-8", + ) + + sanitize_python_local_references(tmp_path) + + content = stub.read_text(encoding="utf-8") + assert "" not in content + assert "class Stream(JavaBase): ..." in content + assert "class DisplayOnly(typing.Protocol): ..." in content + assert content.endswith("...\n") + compile(content, str(stub), "exec") diff --git a/uv.lock b/uv.lock index 7f416365..3c7a3833 100644 --- a/uv.lock +++ b/uv.lock @@ -1878,7 +1878,7 @@ wheels = [ [[package]] name = "neqsim" -version = "3.15.0" +version = "3.19.0" source = { editable = "." } dependencies = [ { name = "jpype1" },