LineDlr struct
#include <gtopt/line_dlr.hpp>
Dynamic line rating of a Line through its critical spans.
Public functions
- auto solar_mode_enum() const -> LineDlrSolarMode noexcept
- auto span_mode_enum() const -> LineDlrSpanMode noexcept
Public variables
- std::optional<DlrConductor> conductor
- Required for IEEE 738.
- Array<CriticalSpan> critical_spans
- OptName limit_mode
- OptReal low_wind_angle
- Low-wind attack angle [deg] (default 45).
- OptReal low_wind_speed
- OptReal power_factor
- Power factor (default 1).
- OptReal safety_factor
- η ∈ (0, ∞) (default 1 = off)
- OptName solar_mode
"ghi"(default) or"none"- OptName span_mode
- OptReal tmax_conductor
- OptReal tmax_conductor_emergency
- OptBool use_emergency
- OptReal v_pu
- Operating voltage [p.u.] (default 1).
- OptReal voltage
- kV for A→MW (default:
Line.voltage)
Variable documentation
OptName gtopt:: LineDlr:: limit_mode
How the DLR rating combines with the static limits: "replace" (it replaces conductor_rating_*, or — without one — max_rating / min_rating) or "min" (min(static, DLR)). Unset → model_options.dlr_limit_mode; both unset → replace with a conductor rating, else min. See LineDlrLimitMode.
OptReal gtopt:: LineDlr:: low_wind_speed
Low-wind rule: below this speed [m/s] the wind direction is ignored and low_wind_angle is used (default 0.5; 0 disables the rule).
OptReal gtopt:: LineDlr:: tmax_conductor
Normal max conductor temp [°C] (def. 75)
OptReal gtopt:: LineDlr:: tmax_conductor_emergency
Emergency max conductor temperature [°C]. When set (or when a span has rating_emergency) the emergency rating is the hard cap and the normal rating the soft threshold of the overload_penalty band.
OptBool gtopt:: LineDlr:: use_emergency
Use the emergency tier when one is configured (default true); false keeps the normal rating as the hard cap.