# Datos de entrada

Cada campo de un modelo de un canal abierto, como lo da el esquema del motor: qué es, su unidad y su convención, y sus límites.

Un modelo es un documento JSON, el mismo que arman los formularios del estudio, escribe su IA y envía un agente con `create_model`. Su sección tiene un `id`, estable y único en el modelo (los resultados nombran con él el elemento del que depende cada chequeo), y un `name`, que se ve en el lienzo y en la memoria. Todo modelo dice su `contract_version`, hoy la 8. Las unidades son SI: m, m², m³/s y m/s; la pendiente es una razón, m/m.

Estos son sus campos, del propio esquema del motor: de ahí salen los formularios del estudio, y es lo que `get_tool_schema` le da a un agente. Los nombres de los campos y sus descripciones están en inglés, como el estudio.

`section` grupo · obligatorio

`points` lista · obligatorio · 3–500 elementos

The cross-section from one end to the other, both ends higher than the bed. Each bank is the highest point between the bed and that end, and the water rises to the lower one; between the levees every point under its surface flows, as HEC-RAS takes it (a second thalweg, a pool behind a bar), and an end the water stands above rises as a vertical wall.

Cada elemento:

`x` número · obligatorio

Horizontal position (m), never smaller than the previous point's.

`z` número · obligatorio

Elevation (m).

`roughness` lista · obligatorio

Manning's n of each segment: roughness\[i\] goes from points\[i\] to points\[i + 1\], so one fewer than the points.

`bank_stations` grupo · opcional

Optional: the main channel's banks, where the section is divided into the main channel and its overbanks (HEC-RAS). Empty, Rischio proposes them: walking out from the bed, where the ground stops rising steeper than 5H:1V; the answer shows where it put them.

`left` número · obligatorio

x of the left bank station (m), a point of the section.

`right` número · obligatorio

x of the right bank station (m), a point of the section right of the left one.

`levees` grupo · opcional

The section's levees, one on each side (HEC-RAS): the ground behind one carries no water until the water tops it.

`left_levee` número · opcional

x of the vertex the left levee stands on (m), between the left end and the bed; on a vertical wall, its top. Empty, the left side's highest point; none, no levee.

`right_levee` número · opcional

x of the vertex the right levee stands on (m), between the bed and the right end; on a vertical wall, its top. Empty, the right side's highest point; none, no levee.

`bed_slope` número · obligatorio · > 0

Longitudinal slope of the bed (m/m): 0.002 is 0.2 %.

`discharge` número · obligatorio · > 0

Discharge Q (m³/s).

`design` grupo · opcional

The designer's limits: the freeboard the water must leave below the lower bank. Empty, the water within the banks judges alone.

`limits` número · opcional

Optional: the designer's limits, by the check's id: freeboard, the least depth (m) the water at its normal depth must stay below the lower bank. Empty, the water within the banks is the only verdict.

---

Source: https://rischio.io/es/docs/open-channel/inputs/
