# Information about StudyTelemac2D

**URL:** <https://opentelemac.org/forum/t/information-about-studytelemac2d/6886>\
**Category:** TELAPY / ADAO / OPENTURNS / and co.\
**Created:** [June 3, 2022, 9:01am UTC](https://opentelemac.org/forum/t/information-about-studytelemac2d/6886 "2022-06-03T09:01:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_16107](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/9e8a1a/32.png) [@user\_16107](https://opentelemac.org/forum/u/user_16107)\
**Post date:** [June 3, 2022, 9:01am UTC](https://opentelemac.org/forum/t/information-about-studytelemac2d/6886/1 "2022-06-03T09:01:58Z")

</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 the[Genetic Algorithm](http://docs.opentelemac.org/notebooks/v8p2r0/optim/telemac2d_optim_genop.html) and [Deterministic Algorithm](http://docs.opentelemac.org/notebooks/v8p2r0/optim/telemac2d_optim_newop.html)

In these examples, the objective function is the error between observations and the set of variables are/is the friction coefficient (CHESTR) in one polygon.

Is it possible to use BOTTOMELEVATION instead, in various polygons rather than only one. Also my objective function is defined by a power generation function.

Inspite of the optimization tools, I still do not understand completely the tool “StudyTelemac2D”. I have tried to find some information in the user manuals and online but not succeeded.

Does anyone can provide some insights or guide me into some documentation to understand it better?

[name removed]

---

<div class="post-metadata">

**Author:** ![user\_5015](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/85f322/32.png) [@user\_5015](https://opentelemac.org/forum/u/user_5015)\
**Post date:** [June 3, 2022, 12:46pm UTC](https://opentelemac.org/forum/t/information-about-studytelemac2d/6886/2 "2022-06-03T12:46:27Z")

</div>

Dear [name removed],

The class StudyTelemac2d is available in the following file :

$HOMETEL/scripts/python3/telapy/tools/study\_t2d.py

In addition, you can have a look at this paper ([https://doi.org/10.1016/j.envsoft.](https://doi.org/10.1016/j.envsoft.)[phone removed]) where some information can be found.

If it is not clear, don’t hesite to ask again.

[name removed]
