gtopt::ieee738 namespace

Classes

struct AirProperties
Air properties at the film temperature.
struct ConductorParams
Conductor thermal parameters (SI).
struct HeatBalance
struct ResistancePoints
struct SpanWeather
Weather at the span (SI).

Functions

auto air_properties(double film_temperature, double elevation) -> AirProperties noexcept
auto ampacity(const ConductorParams& conductor, double conductor_temperature, const SpanWeather& weather) -> double noexcept
auto ampacity_to_mw(double amps, double voltage_kv, double v_pu, double power_factor, int subconductors, double safety_factor) -> double noexcept
auto attack_angle(double wind_direction_deg, double azimuth_deg, double wind_speed, double low_wind_speed = kLowWindSpeed, double low_wind_angle = kLowWindAttackAngle) -> double noexcept
auto heat_balance(const ConductorParams& conductor, double conductor_temperature, const SpanWeather& weather) -> HeatBalance noexcept
Full heat balance at conductor temperature conductor_temperature.
auto resistance_at(double temperature, double r25, double r75) -> double noexcept
auto resistance_from_r20(double r20, double alpha_r, double ac_factor) -> ResistancePoints noexcept
auto wind_angle_factor(double attack_angle_deg) -> double noexcept

Variables

double kLowWindAttackAngle
Attack angle [deg] assumed for low wind (direction unreliable).
double kLowWindSpeed
Wind speeds below this value [m/s] use the low-wind attack angle.

Function documentation

AirProperties gtopt::ieee738::air_properties(double film_temperature, double elevation) noexcept

Air viscosity, density and thermal conductivity at the film temperature [°C] and elevation [m] (IEEE 738 eqs. 13a, 14a, 15a).

double gtopt::ieee738::ampacity(const ConductorParams& conductor, double conductor_temperature, const SpanWeather& weather) noexcept

Steady-state ampacity [A] at conductor_temperature (0 when the net heat removal or the resistance is not positive).

double gtopt::ieee738::ampacity_to_mw(double amps, double voltage_kv, double v_pu, double power_factor, int subconductors, double safety_factor) noexcept

Three-phase rating [MW] of amps per sub-conductor: η · √3 · V[kV] · v_pu · pf · I · n_sub / 1000.

double gtopt::ieee738::attack_angle(double wind_direction_deg, double azimuth_deg, double wind_speed, double low_wind_speed = kLowWindSpeed, double low_wind_angle = kLowWindAttackAngle) noexcept

Angle [deg, 0..90] between the wind and the conductor axis.

φ = |((wind_direction − azimuth + 90) mod 180) − 90| — direction- agnostic (a wind from 270° hits a 0° span like one from 90°, and a 180° span is the same as a 0° span). Below kLowWindSpeed the direction is meaningless and kLowWindAttackAngle (45°) is used (both configurable; low_wind_speed = 0 disables the rule).

HeatBalance gtopt::ieee738::heat_balance(const ConductorParams& conductor, double conductor_temperature, const SpanWeather& weather) noexcept

Full heat balance at conductor temperature conductor_temperature.

double gtopt::ieee738::resistance_at(double temperature, double r25, double r75) noexcept

R(T) = r25 + (r75 − r25)/50 · (T − 25): linear between the two tabulated points, extrapolated beyond them.

ResistancePoints gtopt::ieee738::resistance_from_r20(double r20, double alpha_r, double ac_factor) noexcept

double gtopt::ieee738::wind_angle_factor(double attack_angle_deg) noexcept

Wind-direction factor K_angle = 1.194 − cos φ + 0.194·cos 2φ + 0.368·sin 2φ (IEEE 738 eq. 4a); K(90°) = 1, K(0°) = 0.388.

Variable documentation

double gtopt::ieee738::kLowWindAttackAngle

Attack angle [deg] assumed for low wind (direction unreliable).

double gtopt::ieee738::kLowWindSpeed

Wind speeds below this value [m/s] use the low-wind attack angle.