pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub mod dc;
pub mod diagnostics;
pub mod error;
pub mod format;
pub mod gen_cost;
pub mod geo;
pub mod indexed;
pub mod network;
mod normalize;
mod operations;
pub mod solver_tables;
pub mod version;
pub use dc::DcConvention;
pub use diagnostics::{
DiagnosticCode, DiagnosticSeverity, Diagnostics, EmitFamily, StructuredDiagnostic,
};
pub use error::{Error, ErrorCategory, Result};
pub use format::routing::{
Detection, JSON_CLASSES, JsonClass, classify_json_bytes, classify_json_text,
};
pub use format::{
Conversion, DisplayData, DisplayFormat, Parsed, PwdDisplay, PwdSubstation, PypsaCsvOutputs,
SOURCE_FORMAT_NAMES, SourceDocument, TargetFormat, WriteOptions, convert_file,
convert_file_with_options, convert_str, convert_str_with_options, display_format_from_name,
parse_bytes, parse_bytes_with_name, parse_deepmind_opfdata_json, parse_display_bytes,
parse_display_file, parse_egret_json, parse_file, parse_goc3_json, parse_matpower,
parse_matpower_file, parse_pandapower_json, parse_powermodels_json, parse_powerworld,
parse_pslf, parse_psse, parse_str, parse_str_with_name, parse_surge_json,
read_pypsa_csv_folder, target_format_from_name, write_as, write_as_with_options, write_dir,
write_dir_with_options, write_egret_json, write_matpower, write_pandapower_json,
write_powermodels_json, write_powerworld, write_pslf, write_psse, write_psse_rev,
write_pypsa_csv_folder, write_surge_json,
};
pub use gen_cost::{GenCostPatch, GenCostPolicyReport, MissingGenCostPolicy, parse_gen_cost_csv};
pub use geo::{
Canvas, CoordinateSpace, CoordsKind, ElementKey, GeoApplyReport, GeoFeature, GeoGeometry,
GeoLayer, GeoMeta, GeoParsed, GeoTarget, Location, apply_substation_points,
geo_layer_from_aux_substations, geo_layer_from_pwd, pwd_mercator_to_lonlat,
};
pub use indexed::{ConnectivityReport, IndexCore, IndexedNetwork};
#[allow(deprecated)]
pub use network::Network;
pub use network::{
Area, BalancedNetwork, Branch, BranchCharging, BranchCurrentRatings, BranchRatingSet,
BranchSolution, Bus, BusId, BusType, DEFAULT_BASE_FREQUENCY, Diagnostic, Extras, GenCaps,
GenCost, Generator, Hvdc, Impedance, Load, LoadVoltageModel, Shunt, ShuntBlock, SolverParams,
SourceFormat, Storage, Switch, SwitchedShuntControl, SwitchedShuntMode, Transformer3W,
TransformerControl, TransformerControlMode, Winding, series_admittance_of,
};
pub use normalize::{
NormalizeOptions, NormalizeSourceRows, NormalizedNetwork, POWER_MODELS_ANGLE_BOUND_PAD,
};
pub use operations::Selector;
pub use powerio_diag::nonfinite;
pub use solver_tables::{
NORMALIZED_SOLVER_TABLES_PASS, NormalizedSolverTables, SolverArcRow, SolverArcTerminal,
SolverBranchRow, SolverBusRow, SolverCostRow, SolverGeneratorRow, SolverHvdcRow, SolverLoadRow,
SolverShuntRow, SolverStorageRow, SolverSwitchRow, SolverTableIndex, SolverTableUnits,
};