guying
Guying
Guying(balance_engine: BalanceEngine)
Guying is a class that allows to calculate the loads on the guying system of a support.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
BalanceEngine
|
balance engine instance |
required |
Source code in src/mechaphlowers/core/models/guying.py
145 146 147 148 149 150 151 152 | |
compute
compute(
index: int,
with_pulley: bool,
altitude: float,
horizontal_distance: float,
side: Literal['left', 'right'] = 'left',
view: Literal['support', 'span'] = 'support',
) -> GuyingResults
Calculate guying system loads and forces.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
int
|
Index of the support (0 to number of supports - 1) or span (0 to number of supports - 2) depending on the view |
required |
|
bool
|
Whether the guying system uses a pulley. If True, support_index must be a suspension support (between 1 and number of supports - 2) |
required |
|
float
|
Guying cable attachment height (m) |
required |
|
float
|
Horizontal distance to guying attachment point (m) |
required |
|
Literal['left', 'right']
|
Side of the guying system ('left' or 'right') depending on the view. For 'support' view, it indicates the side of the support. For 'span' view, it indicates the selected support in the span (left or right support regarding the span) |
'left'
|
|
Literal['support', 'span']
|
View of the guying system ('support' or 'span') |
'support'
|
Returns:
| Name | Type | Description |
|---|---|---|
GuyingResults |
GuyingResults
|
Results containing guying_tension, vertical_force, angle |
Raises:
| Type | Description |
|---|---|
ValueError
|
If with_pulley is True and index is not a suspension support or if side is not 'left' or 'right'. |
TypeError
|
If input types are incorrect. |
Examples:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
Source code in src/mechaphlowers/core/models/guying.py
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 | |
static_calculate_guying_loads
staticmethod
static_calculate_guying_loads(
vhl_h: float,
vhl_l: float,
vhl_v: float,
attachment_altitude: float,
guying_altitude: float,
guying_horizontal_distance: float,
insulator_weight: float,
cable_linear_weight: float,
bundle_number: int,
) -> GuyingResults
Calculate guying system loads and forces (direct guying without pulley).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
float
|
Horizontal load component (N) |
required |
|
float
|
Lateral/longitudinal load component (N) |
required |
|
float
|
Vertical load component (N) |
required |
|
float
|
Attachment altitude of chain (m) |
required |
|
float
|
Guying cable attachment height (m) |
required |
|
float
|
Horizontal distance to guying attachment point (m) |
required |
|
float
|
Chain/insulator weight (N) |
required |
|
float
|
Linear weight of conductor (N/m) |
required |
|
int
|
Bundle coefficient (dimensionless) |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuyingResults |
GuyingResults
|
Results containing guying_tension, vertical_force, longitudinal_force, and guying_angle_degrees |
Source code in src/mechaphlowers/core/models/guying.py
289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 | |
static_calculate_guying_loads_with_pulley
staticmethod
static_calculate_guying_loads_with_pulley(
vhl_v: float,
attachment_altitude: float,
guying_altitude: float,
guying_horizontal_distance: float,
insulator_weight: float,
cable_linear_weight: float,
bundle_number: int,
span_tension: float,
span_slope: float,
) -> GuyingResults
Calculate guying system loads and forces with pulley.
This method calculates the tension in the bundle at the pulley point, which becomes the tension in the guying cable. It includes longitudinal load calculation which is specific to pulley configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
float
|
Vertical load component (N) |
required |
|
float
|
Attachment altitude of chain (m) |
required |
|
float
|
Guying cable attachment height (m) |
required |
|
float
|
Horizontal distance to guying attachment point (m) |
required |
|
float
|
Chain/insulator weight (N) |
required |
|
float
|
Linear weight of conductor (N/m) |
required |
|
int
|
Bundle coefficient (dimensionless) |
required |
|
float
|
Horizontal tension in span (N) |
required |
|
float
|
Span slope angle (radians) |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuyingResults |
GuyingResults
|
Results containing:
|
Source code in src/mechaphlowers/core/models/guying.py
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 | |
GuyingResults
GuyingResults(
guying_tension: Quantity,
vertical_force: Quantity,
longitudinal_force: Quantity,
guying_angle_degrees: Quantity,
)
Class to store guying loads results.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
Quantity
|
Tension in guying cable |
required |
|
Quantity
|
Total vertical force under console |
required |
|
Quantity
|
Longitudinal load component |
required |
|
Quantity
|
Angle of guying cable with horizontal plane |
required |
Raises:
| Type | Description |
|---|---|
TypeError
|
If any of the inputs are not of type Quantity |
Examples:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
Source code in src/mechaphlowers/core/models/guying.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
quantity_dict
property
Return the values as a dictionary with appropriate units.