template<>
daw::json::json_data_contract<ModelOptions> struct

Public types

using type = json_member_list<json_bool_null<"use_single_bus", OptBool>, json_bool_null<"use_kirchhoff", OptBool>, json_bool_null<"use_line_losses", OptBool>, json_string_null<"line_losses_mode", OptName>, json_number_null<"kirchhoff_threshold", OptReal>, json_number_null<"loss_segments", OptInt>, json_number_null<"scale_objective", OptReal>, json_number_null<"scale_theta", OptReal>, json_number_null<"demand_fail_cost", OptReal>, json_number_null<"reserve_fail_cost", OptReal>, json_number_null<"hydro_fail_cost", OptReal>, json_number_null<"hydro_use_value", OptReal>>

Public static functions

static auto to_json_data(ModelOptions const& opt) -> auto constexpr