external_loads
CableLoads
CableLoads(
diameter: float64,
linear_weight: float64,
ice_thickness: ndarray,
wind_pressure: ndarray,
ice_density: float = DEFAULT_ICE_DENSITY,
**kwargs: Any,
)
CableLoads is a class that allows to calculate the loads on the cable due to wind and ice
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
float64
|
diameter of the cable |
required |
|
float64
|
linear weight of the cable |
required |
|
ndarray
|
thickness of the ice on the cable |
required |
|
ndarray
|
wind pressure on the cable |
required |
|
float
|
density of the ice. Defaults to DEFAULT_ICE_DENSITY. |
DEFAULT_ICE_DENSITY
|
|
Any
|
additional arguments |
{}
|
Source code in src/mechaphlowers/core/models/external_loads.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 | |
ice_load
property
ice_load: ndarray
Linear weight of the ice on the cable
Returns:
| Type | Description |
|---|---|
ndarray
|
np.ndarray: linear weight of the ice for each span |
load_angle
property
load_angle: ndarray
Load angle (in radians)
Returns:
| Type | Description |
|---|---|
ndarray
|
np.ndarray: load angle (beta) for each span |
resulting_norm
property
resulting_norm: ndarray
Norm of the force (R) applied on the cable due to weather loads and cable own weight, per meter cable
wind_load
property
wind_load: ndarray
Linear force applied on the cable by the wind.
Returns:
| Type | Description |
|---|---|
ndarray
|
np.ndarray: linear force applied on the cable by the wind |
update_from_dict
Update the attributes of the instance based on a dictionary.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
dict
|
Dictionary containing attribute names as keys and their values. |
required |
Source code in src/mechaphlowers/core/models/external_loads.py
108 109 110 111 112 113 114 115 116 | |
WindSpeedPressureConverter
WindSpeedPressureConverter(
tower_height: ndarray,
gust: ndarray | None = None,
speed_average_open_country: ndarray | None = None,
angle_cable_degrees: ndarray | None = None,
voltage: int = 400,
category_surface_roughness: Literal[
'0', 'II', 'IIIa'
] = 'II',
work: bool = False,
)
WindSpeedPressureConverter is a class that allows to convert wind speed to wind pressure
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
ndarray
|
height of the tower in meters |
required |
|
ndarray | None
|
gust wind speed in km/h. Defaults to None. |
None
|
|
ndarray | None
|
average wind speed in open country in m/s. Defaults to None. |
None
|
|
ndarray
|
angle of the wind on the cable in degrees. Defaults to 90. |
None
|
|
int
|
voltage of the line in kV. Defaults to 400. |
400
|
|
Literal['0', 'II', 'IIIa']
|
category of surface roughness. Defaults to "II". |
'II'
|
|
bool
|
if True, the converter is used for work conditions. Defaults to False. |
False
|
Source code in src/mechaphlowers/core/models/external_loads.py
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | |
pressure
property
pressure: ndarray
Calculates the wind pressure in Pa based on the average wind speed, max tower height, voltage, surface roughness, and work condition.
pressure_rounded
property
pressure_rounded: ndarray
Returns the wind pressure rounded to the nearest 10 Pa.
speed_average
property
speed_average: ndarray
Returns a rounded value of the average wind speed in open country to the nearest tenth. Value in m/s This value is used for display purposes, but the actual value used in calculations is not rounded.