schemas
CableArrayInput
Bases: DataFrameModel
Schema for the data expected for a dataframe used to instantiate a CableArray.
Attributes:
| Name | Type | Description |
|---|---|---|
section |
float
|
Area of the section, in mm² |
diameter |
float
|
Diameter of the cable, in mm |
linear_weight |
float
|
Linear weight, in N/m |
young_modulus |
float
|
Young modulus in GPa |
dilatation_coefficient |
float
|
Dilatation coefficient in 10⁻⁶/°C |
temperature_reference |
float
|
Temperature used to compute unstressed cable length (usually 0°C or 15°C) |
a0/a1/a2/a3/a4 |
float
|
Coefficients of the relation between stress \(\sigma\) and deformation \(\varepsilon\) for the conductor: \(\sigma = a0 + a1*\varepsilon + a2*\varepsilon^2 + a3*\varepsilon^3 + a4*\varepsilon^4\) |
b0/b1/b2/b3/b4 |
float
|
Coefficients of the relation between stress \(\sigma\) and deformation \(\varepsilon\) for the heart: \(\sigma = b0 + b1*\varepsilon + b2*\varepsilon^2 + b3*\varepsilon^3 + b4*\varepsilon^4\) |
ObstacleArrayInput
Bases: DataFrameModel
Schema describing the expected dataframe for instantiating an ObstacleArray.
A row describes a point of an obstacle. The whole ObstacleArray may contain multiple obstacles.
Attributes:
| Name | Type | Description |
|---|---|---|
name |
str
|
Name of the obstacle |
point_index |
int
|
Index of the point related to the obstacle |
span_index |
int
|
Number of the span in which the obstacle is located |
x |
float
|
X coordinate of the obstacle in the support frame, in meters |
y |
float
|
Y coordinate of the obstacle in the support frame, in meters |
z |
float
|
Z coordinate of the obstacle in the support frame, in meters |
object_type |
str
|
Type of obstacle (e.g., "tree", "ground", etc.) |
SectionArrayInput
Bases: DataFrameModel
Schema for the data expected for a dataframe used to instantiate a SectionArray.
Each row describes a support and the following span (except the last row which "only" describes the last support).
Notes
Line angles are expressed in degrees.
insulator_length should be zero for the first and last supports, since for now mechaphlowers ignores them when computing the state of a span or section. Taking them into account might be implemented later.
span_length should be zero or numpy.nan for the last row.