# TELAPY / ADAO / OPENTURNS / and co.

**URL:** https://opentelemac.org/forum/c/system-modules/telapy-adao-openturns-and-co/23.md

[Latest](https://opentelemac.org/forum/latest.md) · [Categories](https://opentelemac.org/forum/categories.md) · [Tags](https://opentelemac.org/forum/tags.md)

---

## [About the TELAPY / ADAO / OPENTURNS / and co. category](https://opentelemac.org/forum/t/about-the-telapy-adao-openturns-and-co-category/25)

<div class="topic-metadata">

**Author:** [@system](https://opentelemac.org/forum/u/system)\
**Replies:** 0

</div>

---

## [Extracting Upstream and Downstream Values in Telemac2D API](https://opentelemac.org/forum/t/extracting-upstream-and-downstream-values-in-telemac2d-api/7965)

<div class="topic-metadata">

**Author:** [@user\_16895](https://opentelemac.org/forum/u/user_16895)\
**Replies:** 1\
**Last updated:** [April 11, 2025, 3:45pm UTC](https://opentelemac.org/forum/t/extracting-upstream-and-downstream-values-in-telemac2d-api/7965 "2025-04-11T15:45:16Z")

</div>

Hello \[name removed\], I am running Telemac2D using the API and can retrieve water depth and velocity at specific nodes by specifying their numbers. However, I would like to automatically extract the upstream and downstr…

---

## [Retrieving Connectivity Table](https://opentelemac.org/forum/t/retrieving-connectivity-table/7971)

<div class="topic-metadata">

**Author:** [@user\_16895](https://opentelemac.org/forum/u/user_16895)\
**Replies:** 0\
**Last updated:** [March 23, 2025, 6:35pm UTC](https://opentelemac.org/forum/t/retrieving-connectivity-table/7971 "2025-03-23T18:35:11Z")

</div>

Hello \[name removed\], I am running telemac using the Python API and currently trying to use (MODEL.IKLE) to retrieve the nodes of a specific element or all elements. However, I am uncertain about how to use the relevant…

---

## [Error: unable to load the dynamic library \_api.dll](https://opentelemac.org/forum/t/error-unable-to-load-the-dynamic-library-api-dll/7048)

<div class="topic-metadata">

**Author:** [@user\_16895](https://opentelemac.org/forum/u/user_16895)\
**Replies:** 4\
**Last updated:** [March 14, 2025, 7:17pm UTC](https://opentelemac.org/forum/t/error-unable-to-load-the-dynamic-library-api-dll/7048 "2025-03-14T19:17:16Z")

</div>

Hello, I’m facing the problem in the attached figure when I try to run the telemac2d API example. Can anyone help me, please?

---

## [Using the API in a python environment](https://opentelemac.org/forum/t/using-the-api-in-a-python-environment/7476)

<div class="topic-metadata">

**Author:** [@user\_15497](https://opentelemac.org/forum/u/user_15497)\
**Replies:** 3\
**Last updated:** [March 4, 2025, 9:28am UTC](https://opentelemac.org/forum/t/using-the-api-in-a-python-environment/7476 "2025-03-04T09:28:58Z")

</div>

Hello \[name removed\], I am trying to use the Telemac API within the Spyder environment on Windows. I installed Telemac on my laptop using the automatic installer. The \[name removed\] scripts worked, after I included “C:…

---

## [Implementing Variable Liquid Boundary in Telemac2D API](https://opentelemac.org/forum/t/implementing-variable-liquid-boundary-in-telemac2d-api/7851)

<div class="topic-metadata">

**Author:** [@user\_16895](https://opentelemac.org/forum/u/user_16895)\
**Replies:** 0\
**Last updated:** [November 28, 2024, 7:29pm UTC](https://opentelemac.org/forum/t/implementing-variable-liquid-boundary-in-telemac2d-api/7851 "2024-11-28T19:29:42Z")

</div>

Hello \[name removed\], I’m currently working with the Telemac2D API and trying to implement a variable liquid boundary at the upstream boundary using an equation defined in my code. I am not sure which Variable name sho…

---

## [DYNAMIC STAGE DISCHARGE CRUVES](https://opentelemac.org/forum/t/dynamic-stage-discharge-cruves/7770)

<div class="topic-metadata">

**Author:** [@user\_16649](https://opentelemac.org/forum/u/user_16649)\
**Replies:** 0\
**Last updated:** [August 14, 2024, 12:40am UTC](https://opentelemac.org/forum/t/dynamic-stage-discharge-cruves/7770 "2024-08-14T00:40:50Z")

</div>

Hello \[name removed\] I’ve achieved compile TELEMAC in dynamic mode, and also I’ve experimented how it works within a script environment. But I need some advices especially with possible management of information that is…

---

## [Coupling Mascaret with Telemac-2d](https://opentelemac.org/forum/t/coupling-mascaret-with-telemac-2d/7679)

<div class="topic-metadata">

**Author:** [@user\_15413](https://opentelemac.org/forum/u/user_15413)\
**Replies:** 0\
**Last updated:** [June 13, 2024, 2:28am UTC](https://opentelemac.org/forum/t/coupling-mascaret-with-telemac-2d/7679 "2024-06-13T02:28:32Z")

</div>

Hi \[name removed\], I have tried all the examples of coupling that come with the system, but encountered errors at runtime. What is the reason for this? I am using the latest version V8P4, which is automatically installe…

---

## [Error in parallel run](https://opentelemac.org/forum/t/error-in-parallel-run/7613)

<div class="topic-metadata">

**Author:** [@user\_16895](https://opentelemac.org/forum/u/user_16895)\
**Replies:** 2\
**Last updated:** [April 15, 2024, 3:29pm UTC](https://opentelemac.org/forum/t/error-in-parallel-run/7613 "2024-04-15T15:29:43Z")

</div>

Hello \[name removed\], I compiled v8p5 and tried to run gouttedo and API examples they are working well in sequential without any error. But when I’m trying to run them in a parallel mpirun -n 4 telemac2d.py t2d\_goutted…

---

## [Seeking Guidance on Using TelApy Module for Open Channel Simulation](https://opentelemac.org/forum/t/seeking-guidance-on-using-telapy-module-for-open-channel-simulation/7585)

<div class="topic-metadata">

**Author:** [@user\_16895](https://opentelemac.org/forum/u/user_16895)\
**Replies:** 0\
**Last updated:** [March 12, 2024, 6:40pm UTC](https://opentelemac.org/forum/t/seeking-guidance-on-using-telapy-module-for-open-channel-simulation/7585 "2024-03-12T18:40:04Z")

</div>

Hi \[name removed\], I’m struggling to grasp the TelApy module for open channel simulation, such as that used in automating friction factor updates similar to a Kalman filter. My programming skills are basic, and I can ju…

---

## [Error in Running Telemac2D - file allocation](https://opentelemac.org/forum/t/error-in-running-telemac2d-file-allocation/7516)

<div class="topic-metadata">

**Author:** [@user\_18048](https://opentelemac.org/forum/u/user_18048)\
**Replies:** 3\
**Last updated:** [January 29, 2024, 11:33am UTC](https://opentelemac.org/forum/t/error-in-running-telemac2d-file-allocation/7516 "2024-01-29T11:33:32Z")

</div>

Hi \[name removed\], I hope you can help me through this error. I am trying to run several times a Telemac2D .cas file within a loop for calibration purposes only changing the roughness coefficient in each .cas file. The …

---

## ["Double free of corruption(out)" when using telapy to run TELEMAC-2D](https://opentelemac.org/forum/t/double-free-of-corruption-out-when-using-telapy-to-run-telemac-2d/7477)

<div class="topic-metadata">

**Author:** [@user\_17414](https://opentelemac.org/forum/u/user_17414)\
**Replies:** 5\
**Last updated:** [January 11, 2024, 12:57pm UTC](https://opentelemac.org/forum/t/double-free-of-corruption-out-when-using-telapy-to-run-telemac-2d/7477 "2024-01-11T12:57:37Z")

</div>

Hello, every one! I hope this message finds you well. I’ve been using Telapy to interface with Telemac2d v8p4, which has been quite smooth. However, recently, I encountered an issue when switching to a new case study. T…

---

## [hermes error when used by telapy for parsing SERAFIN file](https://opentelemac.org/forum/t/hermes-error-when-used-by-telapy-for-parsing-serafin-file/6912)

<div class="topic-metadata">

**Author:** [@user\_12138](https://opentelemac.org/forum/u/user_12138)\
**Replies:** 6\
**Last updated:** [January 10, 2024, 8:09am UTC](https://opentelemac.org/forum/t/hermes-error-when-used-by-telapy-for-parsing-serafin-file/6912 "2024-01-10T08:09:05Z")

</div>

Hi, error occurs as using hermes for analyzing serafin file: \_hermes.error is related to b’SERAFIN ’ Traceback (most recent call last): File “/home/\[name removed\]/opentelemac-mascaret/main/scripts/python3/driven\_cou…

---

## [TELAPY install and PYTHON env](https://opentelemac.org/forum/t/telapy-install-and-python-env/7464)

<div class="topic-metadata">

**Author:** [@user\_17331](https://opentelemac.org/forum/u/user_17331)\
**Replies:** 0\
**Last updated:** [December 1, 2023, 3:30am UTC](https://opentelemac.org/forum/t/telapy-install-and-python-env/7464 "2023-12-01T03:30:14Z")

</div>

Hello, I have a problem about running the simulation after I install anaconda-jupyter, then I got a fatal error like this: I 'd like to ask how to solve it and how to use the telapy module in notebook, thank you all. j…

---

## [API compilation fails with Numpy \>= 1.24.0](https://opentelemac.org/forum/t/api-compilation-fails-with-numpy-1-24-0/7386)

<div class="topic-metadata">

**Author:** [@user\_14270](https://opentelemac.org/forum/u/user_14270)\
**Replies:** 6\
**Last updated:** [September 25, 2023, 7:21am UTC](https://opentelemac.org/forum/t/api-compilation-fails-with-numpy-1-24-0/7386 "2023-09-25T07:21:40Z")

</div>

here is the error : Building the Python API ~\> Wrap\_api built ~\> Compiling Modules api Traceback (most recent call last): File "D:\\telemac-mascaret\\scripts\\python3\\compilation\\compil\_tools.py", line 91…

---

## [Does the v8p4r0 version of the automatic installer support the telapy?](https://opentelemac.org/forum/t/does-the-v8p4r0-version-of-the-automatic-installer-support-the-telapy/7383)

<div class="topic-metadata">

**Author:** [@user\_17414](https://opentelemac.org/forum/u/user_17414)\
**Replies:** 10\
**Last updated:** [September 16, 2023, 2:22am UTC](https://opentelemac.org/forum/t/does-the-v8p4r0-version-of-the-automatic-installer-support-the-telapy/7383 "2023-09-16T02:22:40Z")

</div>

Hello! I hope you’re all doing well. Previously, I successfully compiled and installed TELEMAC-2D version v8p4r0 on a Linux system and and also applied the telapy module to call the API from Python. However, I have neve…

---

## [Running multiple instances of TELEMAC-2D with the API](https://opentelemac.org/forum/t/running-multiple-instances-of-telemac-2d-with-the-api/7292)

<div class="topic-metadata">

**Author:** [@user\_11686](https://opentelemac.org/forum/u/user_11686)\
**Replies:** 1\
**Last updated:** [July 11, 2023, 12:07pm UTC](https://opentelemac.org/forum/t/running-multiple-instances-of-telemac-2d-with-the-api/7292 "2023-07-11T12:07:27Z")

</div>

Hello, I have a small testcase for which I want test some optimization algorithm using the TELEMAC api. Everything works fine as long as I perform the simulations consecutively. However, I want to speed up the algorithm…

---

## [Simulation does not run successfully when using the TELAPY module](https://opentelemac.org/forum/t/simulation-does-not-run-successfully-when-using-the-telapy-module/7282)

<div class="topic-metadata">

**Author:** [@user\_17414](https://opentelemac.org/forum/u/user_17414)\
**Replies:** 6\
**Last updated:** [May 26, 2023, 12:39pm UTC](https://opentelemac.org/forum/t/simulation-does-not-run-successfully-when-using-the-telapy-module/7282 "2023-05-26T12:39:22Z")

</div>

Hello \[name removed\]! Recently, I have been attempting to use TELAPY to control TELEMAC2D simulations (v8p4-Linux). I have been able to successfully run the “breach” example provided in the telapy notebooks. However, wh…

---

## [Genop optimizer from TelApy](https://opentelemac.org/forum/t/genop-optimizer-from-telapy/6798)

<div class="topic-metadata">

**Author:** [@user\_2562](https://opentelemac.org/forum/u/user_2562)\
**Replies:** 3\
**Last updated:** [October 3, 2022, 1:12pm UTC](https://opentelemac.org/forum/t/genop-optimizer-from-telapy/6798 "2022-10-03T13:12:45Z")

</div>

Hello Telemac fellows, I’m learning how to use TelApy from the examples in the source code located in v8p3r1\\notebooks\\optim\\telemac2d\_optim\_genop.ipynb. I noticed that in the section “Run the optimization” at the line …

---

## [api error when used by telapy at partitionning step](https://opentelemac.org/forum/t/api-error-when-used-by-telapy-at-partitionning-step/6911)

<div class="topic-metadata">

**Author:** [@user\_12138](https://opentelemac.org/forum/u/user_12138)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 6:50am UTC](https://opentelemac.org/forum/t/api-error-when-used-by-telapy-at-partitionning-step/6911 "2022-07-05T06:50:19Z")

</div>

Hi, Error occurs as running telemac2d parallely: \_api.error is related to SERAFIN Traceback (most recent call last): File “/home/\[name removed\]/opentelemac-mascaret/main/scripts/python3/run\_cpl.py”, line 166, in m…

---

## [Using TelApy to run Telemac-2D simulation in parallel](https://opentelemac.org/forum/t/using-telapy-to-run-telemac-2d-simulation-in-parallel/6811)

<div class="topic-metadata">

**Author:** [@user\_2562](https://opentelemac.org/forum/u/user_2562)\
**Replies:** 2\
**Last updated:** [June 8, 2022, 11:07am UTC](https://opentelemac.org/forum/t/using-telapy-to-run-telemac-2d-simulation-in-parallel/6811 "2022-06-08T11:07:38Z")

</div>

Hello Telemac community, I was able to follow the example of using TelApy to execute Telemac-2D simulations (v8p3r1/notebooks/telapy/telemac2d\_example.ipynb). It worked well for running with one processor. In the TelAp…

---

## [Information about StudyTelemac2D](https://opentelemac.org/forum/t/information-about-studytelemac2d/6886)

<div class="topic-metadata">

**Author:** [@user\_16107](https://opentelemac.org/forum/u/user_16107)\
**Replies:** 1\
**Last updated:** [June 3, 2022, 12:46pm UTC](https://opentelemac.org/forum/t/information-about-studytelemac2d/6886 "2022-06-03T12:46:27Z")

</div>

Dear \[name removed\], I am trying to develop python code for the optimization of weir height, so I am thinking in using the optimization tools provided by telemac TelApy. I am following the examples on theGenetic Algori…

---

## [How to include a PRIVE variable in TelApy dynamic simulation](https://opentelemac.org/forum/t/how-to-include-a-prive-variable-in-telapy-dynamic-simulation/6830)

<div class="topic-metadata">

**Author:** [@user\_16107](https://opentelemac.org/forum/u/user_16107)\
**Replies:** 3\
**Last updated:** [May 25, 2022, 10:13am UTC](https://opentelemac.org/forum/t/how-to-include-a-prive-variable-in-telapy-dynamic-simulation/6830 "2022-05-25T10:13:36Z")

</div>

Dear \[name removed\], I have been trying to develop a simulation to couple Python code with Telemac2d, similar to this \[/105187/24\_Goeury\_2018.pdf?sequence=1&isAllowed=y\]article\](https://henry.baw.de/bitstream/handle/\[ph…

---

## [Parallel computing using TelApy](https://opentelemac.org/forum/t/parallel-computing-using-telapy/6807)

<div class="topic-metadata">

**Author:** [@user\_16107](https://opentelemac.org/forum/u/user_16107)\
**Replies:** 2\
**Last updated:** [April 11, 2022, 3:45pm UTC](https://opentelemac.org/forum/t/parallel-computing-using-telapy/6807 "2022-04-11T15:45:46Z")

</div>

Dear \[name removed\], I have recently started to use TelApy to control my simulations with Python. I am followint the documentation available in this link. I import my simulation using the command import telapy.api.t2d…

---

## [Coupling Mascaret with Telemac-2d](https://opentelemac.org/forum/t/coupling-mascaret-with-telemac-2d/7059)

<div class="topic-metadata">

**Author:** [@user\_15637](https://opentelemac.org/forum/u/user_15637)\
**Replies:** 0\
**Last updated:** [December 20, 2021, 9:31am UTC](https://opentelemac.org/forum/t/coupling-mascaret-with-telemac-2d/7059 "2021-12-20T09:31:38Z")

</div>

Hi \[name removed\], I couldn’t find a category regarding telapy-coupling, so I’ll post my question here (please feel free to move it to an appropriate one). For the 2D model, is it mandatory to have the steering file in …
