gtopt directory
Directories
- directory json/
Files
- file active_ref.hpp
- Tolerant cross-element references for
add_to_lp/update_lp. - file allowance_pool.hpp
- CO₂ / pollutant Cap-and-Trade allowance pool.
- file allowance_pool_lp.hpp
- LP wrapper for
AllowancePool(Phase 2 — banking only). - file ammonia_node.hpp
- Ammonia-carrier balance node (long-term H₂ storage).
- file ammonia_node_lp.hpp
- LP wrapper for
AmmoniaNode— carrier-side balance row. - file ammonia_storage.hpp
- Ammonia (NH₃) storage — long-term carrier of H₂
- file ammonia_storage_lp.hpp
- LP wrapper for the
AmmoniaStorageelement. - file ampl_dispatch_registry.hpp
- One-shot population of the AMPL param + iterator tables.
- file ampl_variable.hpp
- Registry types for user-constraint (AMPL) variable resolution.
- file aperture.hpp
- Aperture definition for SDDP backward-pass scenario sampling.
- file aperture_data_cache.hpp
- Pre-loaded aperture scenario data for SDDP backward pass.
- file array_index_traits.hpp
- Traits and utilities for reading Arrow-indexed arrays.
- file arrow_index_cache.hpp
- Shared, scene/phase-invariant Arrow input-index cache.
- file arrow_input_guards.hpp
- Fail-hard guards for Arrow tables loaded from Parquet / CSV.
- file arrow_types.hpp
- file as_label.hpp
- String label generation utilities.
- file basic_types.hpp
- Fundamental type definitions for power system planning.
- file basis.hpp
- Solver-agnostic simplex basis (warm-start) primitive.
- file basis_io.hpp
- Binary (de)serialization of a solver-agnostic simplex
Basis. - file battery.hpp
- Header for battery energy storage components.
- file battery_lp.hpp
- Header for battery LP formulation.
- file benders_cut.hpp
- Modular Benders cut construction and handling.
- file block.hpp
- Time block definition for power system optimization.
- file block_lp.hpp
- Linear Programming representation of a Block for optimization problems.
- file build_info.hpp
- Version and source revision of the running gtopt build.
- file bus.hpp
- Busbar electrical model definition.
- file bus_island.hpp
- Connected-component (island) detection for bus networks.
- file bus_lp.hpp
- Linear Programming representation of a Bus for optimization problems.
- file capacity.hpp
- Defines capacity-related structures for planning models.
- file capacity_object_lp.hpp
- Linear programming representation of capacity-constrained objects.
- file capacity_profile.hpp
- Generic time-varying availability profile (kind-tagged).
- file capacity_profile_lp.hpp
- Unified LP wrapper for
CapacityProfile(kind-dispatched). - file capacity_profile_traits.hpp
- Per-owner-kind dispatch table for
CapacityProfile/CapacityProfileLP. - file capital_recovery.hpp
- Capital recovery factor and annuity of an overnight cost.
- file carrier.hpp
- Energy-carrier tag for
Node<>templated balance nodes. - file carrier_converter.hpp
- Multi-carrier energy converter (electrolyser, fuel cell, HB, …).
- file carrier_converter_lp.hpp
- LP wrapper for
CarrierConverter. - file carrier_node_lp.hpp
- Shared LP wrapper for the carrier balance nodes.
- file carrier_storage_lp.hpp
- Shared LP wrapper for the carrier storages (TES / H₂ / NH₃).
- file cascade_method.hpp
- Multi-level cascade method with configurable LP formulations.
- file cascade_options.hpp
- Cascade solver configuration: transitions, levels, and options.
- file cascade_progress.hpp
- Checkpoint file for cascade-method resume across runs.
- file cell_partition.hpp
- Cell partition of a stage: periods / days as unions of cells.
- file check_lp.hpp
- Utility for running gtopt_check_lp diagnostics on error LP files.
- file check_solvers.hpp
- C++ solver plugin test suite callable as a library.
- file cli_options.hpp
- Modern C++ command-line option parsing (replaces boost::program_options).
- file collection.hpp
- Header for efficient typed element collection container.
- file commitment.hpp
- Unit commitment data for generator on/off scheduling.
- file commitment_lp.hpp
- LP formulation for unit commitment (three-bin u/v/w model).
- file commitment_power_based.hpp
- Power-based unit-commitment rows (Morales-España et al.).
- file config_file.hpp
- Lightweight INI config file reader for .gtopt.conf.
- file constraint_directive.hpp
- Typed metadata directive attached to a UserConstraint.
- file constraint_expr.hpp
- AST types for parsed user constraint expressions.
- file constraint_names.hpp
- Canonical constexpr name constants used in LP row labels.
- file constraint_parser.hpp
- Parser for user constraint expressions (AMPL-inspired syntax).
- file converter.hpp
- Defines the Converter structure for battery-generator coupling.
- file converter_lp.hpp
- LP formulation for energy converters.
- file coordinator_pool.hpp
- Tier-1 scene/pass orchestration pool for the SDDP method.
- file cost_helper.hpp
- Cost calculation and discounting utilities for optimization problems.
- file coupler_fail_closed.hpp
- "Fail-closed" helpers for coupler elements (rule R2)
- file cpu_monitor.hpp
- CPU usage monitoring and statistics collection.
- file decision_variable.hpp
- Decision Variable (continuous or integer) referenced by UserConstraints.
- file decision_variable_lp.hpp
- LP representation of a free continuous Decision Variable.
- file demand.hpp
- Header file defining demand-related structures for power system planning.
- file demand_lp.hpp
- file demand_profile.hpp
- Demand profile configuration and attributes.
- file demand_profile_lp.hpp
- LP formulation for demand profiles.
- file domain_rules.hpp
- Domain rules that repair a candidate integer commitment.
- file element_column_resolver.hpp
- Resolve LP column indices for user-constraint element references.
- file element_context.hpp
- Provides a context for interacting with elements within a SystemLP.
- file element_index.hpp
- Type-safe strong index type for elements.
- file element_traits.hpp
- Defines traits for accessing and manipulating elements in a system context.
- file emission.hpp
- Pollutant TYPE entity (registry; no constraints).
- file emission_capture.hpp
- Per-(generator, pollutant) capture & cost (CCS) declaration.
- file emission_lp.hpp
- Parameter-carrier wrapper for the Emission pollutant tag.
- file emission_source.hpp
- Bridge entity — generator → emission zone with combustion + optional upstream (WTT) per-MWh rates.
- file emission_source_lp.hpp
- LP-active wrapper for the EmissionSource bridge entity.
- file emission_zone.hpp
- Pollutant constraint zone — optional cap / price / pool.
- file emission_zone_lp.hpp
- LP-active wrapper for the EmissionZone bridge entity.
- file enum_option.hpp
- Generic compile-time enum-to-string and string-to-enum framework.
- file error.hpp
- Header for error handling types and error codes.
- file fail_segment.hpp
- Stepwise value-of-lost-load (VoLL) curve segment for Demand.
- file fcut_log.hpp
- PLP-style feasibility-cut debug log (plpfact.log analogue).
- file field_sched.hpp
- file flat_helper.hpp
- Helper for flattening multi-dimensional optimization data into LP format.
- file flow.hpp
- Exogenous water flow (inflow/outflow) at a hydraulic junction.
- file flow_lp.hpp
- Linear programming representation of network flows.
- file flow_right.hpp
- Flow-based water right (derechos de caudal).
- file flow_right_lp.hpp
- LP representation of flow-based water rights.
- file fmap.hpp
- flat_map type alias and map utility helpers
- file fuel.hpp
- Defines the Fuel structure (price + heat content + emission factors).
- file fuel_lp.hpp
- LP wrapper for the Fuel data struct.
- file future_cost.hpp
- Future Cost Function (FCF) element — the cost-to-go / α
- file future_cost_aliases.hpp
- Translate the deprecated boundary-cut option keys into FutureCost.
- file future_cost_lp.hpp
- LP representation of a FutureCost (FCF / cost-to-go) element.
- file gas_compressor.hpp
- Gas compressor station: ratio bounds in π + fuel model.
- file gas_compressor_lp.hpp
- LP wrapper for
GasCompressor— ratio rows + fuel model. - file gas_demand.hpp
- Exogenous gas load at a GasNode with priced shedding.
- file gas_demand_lp.hpp
- LP wrapper for
GasDemand— load RHS + shedding column. - file gas_enums.hpp
- Enumerations for the gas-network element configuration.
- file gas_node.hpp
- Natural-gas network node (squared pressure + gas balance).
- file gas_node_lp.hpp
- LP wrapper for
GasNode— π column + gas balance row. - file gas_options.hpp
- Network-wide gas properties of the gas-network model.
- file gas_physics.hpp
- Steady-state natural-gas physics used by the gas-network LP.
- file gas_pipe.hpp
- Gas pipeline: Weymouth outer approximation + line pack.
- file gas_pipe_lp.hpp
- LP wrapper for
GasPipe— Weymouth tangents + line pack. - file gas_slp.hpp
- Sequential LP for linearised (meshed) gas pipes.
- file gas_supply.hpp
- Gas injection (field, pipeline import, LNG regasification).
- file gas_supply_lp.hpp
- LP wrapper for
GasSupply— priced injection column. - file gas_turbine.hpp
- Gas-fired generator ↔ GasNode link (fuel + pressure gate).
- file gas_turbine_lp.hpp
- LP wrapper for
GasTurbine— fuel term + pressure gate. - file generator.hpp
- Header for generator components in power system planning.
- file generator_enums.hpp
- Generator-class enums (CogenMode, OutageReserveMode).
- file generator_lp.hpp
- Linear Programming representation of a Generator for optimization.
- file generator_profile.hpp
- Generator profile configuration and attributes.
- file generator_profile_lp.hpp
- Linear programming representation of generator profiles.
- file gpu_monitor.hpp
- GPU (NVML) resource monitoring — sibling of CPUMonitor/MemoryMonitor.
- file gtopt_cli.hpp
- Testable command-line front end of the gtopt standalone binary.
- file gtopt_json_io.hpp
- JSON parsing, serialization, and –set overlay for Planning.
- file gtopt_lp_runner.hpp
- LP build, solve, stats, and output writing.
- file gtopt_main.hpp
- Core application entry point for the gtopt optimizer.
- file hardware_info.hpp
- Physical vs logical CPU core detection.
- file hydrogen_demand.hpp
- Hydrogen offtake (sink) at a HydrogenNode.
- file hydrogen_demand_lp.hpp
- LP wrapper for
HydrogenDemand— hydrogen offtake columns. - file hydrogen_node.hpp
- Hydrogen-carrier balance node (electrolyser / fuel cell).
- file hydrogen_node_lp.hpp
- LP wrapper for
HydrogenNode— carrier-side balance row. - file hydrogen_storage.hpp
- Hydrogen storage (steel cylinders, salt caverns, LH₂).
- file hydrogen_storage_lp.hpp
- LP wrapper for the
HydrogenStorageelement. - file ieee738.hpp
- IEEE Std 738 steady-state conductor heat balance (SI units).
- file index_holder.hpp
- Multi-dimensional index map type aliases for LP lookups.
- file inertia_provision.hpp
- Defines InertiaProvision – generator contribution to an inertia zone.
- file inertia_provision_lp.hpp
- LP formulation for inertia provisions.
- file inertia_zone.hpp
- Defines the InertiaZone structure for system inertia requirements.
- file inertia_zone_lp.hpp
- LP formulation for inertia zones.
- file input_context.hpp
- Input context for reading scheduled data into LP elements.
- file input_traits.hpp
- Input data access traits.
- file integer_variable.hpp
- Registry abstraction for every integer LP column in gtopt.
- file iteration.hpp
- Defines the Iteration structure for per-iteration solver control.
- file iteration_lp.hpp
- LP representation of an Iteration control entry.
- file json_canonicalize.hpp
- Rewrite alias keys in JSON text to canonical gtopt names.
- file json_schema.hpp
- JSON Schema dump for the gtopt input data model.
- file junction.hpp
- Hydraulic junction node for hydro cascade systems.
- file junction_lp.hpp
- Header for junction linear programming formulation.
- file kappa_mode.hpp
- Default
kappa_mode: compiled default,$GTOPT_KAPPA_MODE. - file kirchhoff_cycle_basis.hpp
- Fundamental-cycle builder for the loop-flow KVL formulation.
- file kirchhoff_node_angle.hpp
- B–θ (node-angle) Kirchhoff Voltage Law row assembly.
- file label_maker.hpp
- Generates LP column/row name strings honoring LpNamesLevel.
- file lindistflow.hpp
- Shared helpers of the LinDistFlow network model.
- file line.hpp
- Header for transmission line components.
- file line_commitment.hpp
- Per-line Optimal Transmission Switching (OTS) parameters.
- file line_commitment_lp.hpp
- LP formulation for Optimal Transmission Switching (issue #509).
- file line_direction.hpp
- Radial-line detection and structural flow-direction certificate.
- file line_dlr.hpp
- Dynamic line rating (DLR) through critical spans — schema.
- file line_dlr_lp.hpp
- Per-block span ratings of a Line dynamic line rating (DLR).
- file line_enums.hpp
- Enumerations for transmission line configuration.
- file line_losses.hpp
- Modular transmission line losses engine.
- file line_lp.hpp
- LP formulation for transmission lines.
- file line_thermal_resistance.hpp
- Conductor temperature from losses: linear R(T) and R_Θ (TDPF).
- file linear_interface.hpp
- Interface to linear programming solvers.
- file linear_interface_labels_codec.hpp
- Byte-level (de)serializer for LP column / row label metadata.
- file linear_parser.hpp
- Parser for linear constraint expressions.
- file linear_problem.hpp
- Header defining data structures for sparse linear planning problems.
- file lng_terminal.hpp
- Defines the LngTerminal structure representing an LNG storage terminal.
- file lng_terminal_lp.hpp
- Defines the LngTerminalLP class for linear programming representation.
- file log_and_throw.hpp
- Log-then-throw helper codifying the gtopt error convention.
- file log_format.hpp
- Centralised INFO-log number formatting helpers.
- file low_memory_snapshot.hpp
- FlatLinearProblem snapshot with persistent compression.
- file lp_build_error.hpp
- Single failure channel for
add_to_lp(LP assembly errors). - file lp_cache.hpp
- LpCache — post-solve scalar + vector cache for LinearInterface.
- file lp_class_name.hpp
- Defines the LPClassName struct with modern C++23 features.
- file lp_context.hpp
- Typed LP context tuples and label generation utilities.
- file lp_debug_writer.hpp
- LpDebugWriter – reusable LP debug file writer with async gzip.
- file lp_element_types.hpp
- Authoritative compile-time registry of all LP element types.
- file lp_equilibration.hpp
- Per-row equilibration primitives shared by the bulk LP build path and the post-build (cut) row-insertion path.
- file lp_file_format.hpp
- File format selector for LP model dumps (
--lp-file). - file lp_fingerprint.hpp
- LP structural fingerprint for formulation integrity verification.
- file lp_label_store.hpp
- Name / label subsystem of an LP matrix.
- file lp_matrix_enums.hpp
- Named enum types for LP matrix options.
- file lp_matrix_options.hpp
- Configuration options for LP matrix assembly.
- file lp_name_spill.hpp
- Async, Parquet-backed store for LP col/row label metadata.
- file lp_replay_buffer.hpp
- LpReplayBuffer — replay state for LowMemoryMode reconstruct.
- file lp_scales.hpp
- Machine-readable sidecar describing a written LP/MPS file.
- file lp_scaling.hpp
- LP-scaling subsystem of an LP matrix.
- file lp_snapshot_holder.hpp
- LpSnapshotHolder — snapshot + codec + compression facade.
- file lp_stats.hpp
- Static analysis of LP coefficient matrices for numerical conditioning diagnostics.
- file lp_validation.hpp
- Build-time LP numerical validation: thresholds and accumulator.
- file main_options.hpp
- Application command-line option parsing and configuration.
- file map_reserve.hpp
- Generic capacity-reservation helper for associative containers.
- file matrix_stats.hpp
- Matrix-wide numerical statistics for an LP matrix.
- file memory_compress.hpp
- In-memory compression/decompression for low_memory mode.
- file memory_monitor.hpp
- System and process memory monitoring.
- file mip_start.hpp
- Initial-MIP-solution (warm-start) generation & injection pipeline.
- file mip_start_dive.hpp
- Relaxation-guided propagation dive + verify/repair MIP start.
- file model_options.hpp
- Power system model configuration for LP construction.
- file monolithic_enums.hpp
- Named enum types for monolithic solver options.
- file monolithic_method.hpp
- Monolithic planning method — solves each (scene, phase) LP independently using a parallel work pool.
- file monolithic_options.hpp
- Monolithic solver configuration parameters.
- file multi_array_2d.hpp
- Minimal 2D array wrapper around std::vector.
- file mvector_traits.hpp
- Recursive multi-dimensional vector traits.
- file names_registry.hpp
- Runtime-loadable dictionary of gtopt JSON key aliases.
- file node.hpp
- Generic carrier-tagged balance-node template.
- file object.hpp
- Core object types and utilities for the optimization framework.
- file object_lp.hpp
- Linear programming wrapper for objects in the optimization model.
- file object_utils.hpp
- Utility methods for objects in the optimization framework.
- file output_context.hpp
- Output context for writing LP results to Parquet/CSV.
- file overload.hpp
- Overload pattern for combining multiple callables.
- file pampl_parser.hpp
- Parser for pseudo-AMPL (.pampl) user constraint files.
- file phase.hpp
- Defines the Phase structure for multi-phase optimization problems.
- file phase_lp.hpp
- Linear programming phase representation.
- file phase_range_set.hpp
- Parse and query phase range expressions for relaxed UC binaries.
- file planning.hpp
- Header of Planning class.
- file planning_enums.hpp
- Named enum types for planning options.
- file planning_lp.hpp
- file planning_method.hpp
- Abstract interface for planning methods and factory function.
- file planning_options.hpp
- Global configuration parameters for power system optimization.
- file planning_options_lp.hpp
- Wrapper for PlanningOptions with default value handling.
- file plant.hpp
- Declarative grouping of generator configuration variants.
- file plant_lp.hpp
- LP build path for Plant elements.
- file plugin_integrity.hpp
- Verify that a solver plugin is the one built with this gtopt.
- file position_vector.hpp
- std::vector addressed by ONE strong positional index type
- file pricing_mode.hpp
- Post-MIP pricing methods (fixed / relaxed / fast-start).
- file process_util.hpp
- Safe helpers for locating and spawning external tools.
- file profile_object_lp.hpp
- Base class for profile-based LP objects.
- file pump.hpp
- Defines the Pump structure representing a hydraulic pump unit.
- file pump_lp.hpp
- Defines the PumpLP class for linear programming representation.
- file reserve_provision.hpp
- Defines ReserveProvision – generator contribution to a reserve zone.
- file reserve_provision_lp.hpp
- LP formulation for reserve provisions.
- file reserve_zone.hpp
- Defines the ReserveZone structure for spinning-reserve modeling.
- file reserve_zone_lp.hpp
- LP formulation for reserve zones.
- file reservoir.hpp
- Defines the Reservoir structure representing a water reservoir.
- file reservoir_discharge_limit.hpp
- Piecewise-linear volume-dependent discharge limit for reservoirs.
- file reservoir_discharge_limit_lp.hpp
- LP representation of a ReservoirDischargeLimit constraint.
- file reservoir_lp.hpp
- Defines the ReservoirLP class for linear programming representation.
- file reservoir_production_factor.hpp
- Piecewise-linear turbine production factor as a function of reservoir volume (hydraulic head).
- file reservoir_production_factor_lp.hpp
- LP representation of reservoir-dependent turbine production factor.
- file reservoir_seepage.hpp
- Piecewise-linear water seepage (seepage) from a reservoir.
- file reservoir_seepage_lp.hpp
- Linear Programming representation of a ReservoirSeepage system.
- file resolve_planning_args.hpp
- Resolve planning file arguments and directory context.
- file resource_governor.hpp
- Process-global GPU admission (per-device token bucket).
- file right_bound_rule.hpp
- Volume-dependent piecewise-linear bound rule for water rights.
- file risk_measure.hpp
- Risk measure option (expected cost / mean-CVaR).
- file risk_measure_lp.hpp
- LP construct of the mean-CVaR objective (risk_measure = cvar).
- file sanity_options.hpp
- Thresholds for the data-quality (sanity) warnings of validate_planning.
- file scenario.hpp
- Stochastic scenario definition for power system planning.
- file scenario_lp.hpp
- file scene.hpp
- Scene data structure for grouping scenarios.
- file scene_lp.hpp
- Header for SceneLP class that represents a logical scene with LP scenario elements.
- file scene_merge.hpp
- Merge the scenes spanned by a nonanticipative DecisionVariable.
- file schedule.hpp
- Header of FieldSched type.
- file scoped_stdout_silencer.hpp
- Thread-safe RAII redirect of fd 1 (stdout) to /dev/null.
- file sddp_aperture.hpp
- Aperture backward-pass logic for SDDP solver.
- file sddp_aperture_drops.hpp
- Cross-iteration bookkeeping of dropped (infeasible) apertures.
- file sddp_capacity_cuts.hpp
- Capacity-space projection of stored SDDP Benders cuts — the cut-extraction API for the OptGen-style investment master loop (deliverable 3 of the SDDiP campaign).
- file sddp_common.hpp
- Common types and forward declarations for the SDDP subsystem.
- file sddp_cut_io.hpp
- Cut persistence (save/load) for SDDP solver.
- file sddp_cut_io_internal.hpp
- Internal helpers shared by sddp_cut_io split TUs.
- file sddp_cut_sharing.hpp
- SDDP cut sharing across scenes.
- file sddp_cut_store.hpp
- Per-scene + manager-level storage for SDDP Benders cuts.
- file sddp_cut_store_enums.hpp
- Enumerations for SDDP Benders cut storage.
- file sddp_enums.hpp
- Named enum types for SDDP and boundary-cut options.
- file sddp_forward_crossover.hpp
- Forward-pass crossover policy and the interior-dual cut guard.
- file sddp_investment_master.hpp
- OptGen-style investment-master Benders loop — a MIP master over here-and-now integer expansion builds coupled to the gtopt operational SDDP through capacity-space Benders cuts (deliverable 4 of the SDDiP campaign; design in docs/analysis/investigations/sddp/sddip_integer_expansion_2026-07.md §7).
- file sddp_method.hpp
- SDDP (Stochastic Dual Dynamic Programming) method for multi-phase planning problems with state variable coupling.
- file sddp_options.hpp
- SDDP-specific solver configuration parameters.
- file sddp_pool.hpp
- SDDP-specialised work pool: SDDPTaskKey, SDDPWorkPool, and factory.
- file sddp_scene_tracker.hpp
- Per-scene iteration tracker for asynchronous SDDP execution.
- file sddp_types.hpp
- Data types for the SDDP iterative solver.
- file sha256.hpp
- FIPS 180-4 SHA-256 (self-contained, no OpenSSL dependency).
- file simple_commitment.hpp
- Deprecated SimpleCommitment input alias.
- file simulation.hpp
- Header of Simulation class.
- file simulation_lp.hpp
- file single_id.hpp
- Single-value identifier types (UID or name) for component lookup.
- file solution_csv.hpp
- Row model + formatting for the solver-diagnostics
solution.csv. - file solve_outcome.hpp
- Tri-state outcome of a solver invocation.
- file solver_backend.hpp
- Abstract solver backend interface for LP/MIP solvers.
- file solver_build_info.hpp
- Plugin-exported identity: solver-library versions and build tag.
- file solver_cfg.hpp
- Solver tuning-file loader: INI
.cfgwith named enum values. - file solver_enums.hpp
- Named enum types for LP solver options.
- file solver_monitor.hpp
- Solver monitoring API: real-time workpool statistics and JSON status file for SDDP and Monolithic solvers.
- file solver_options.hpp
- Linear programming solver configuration options.
- file solver_param_file.hpp
- Resolve relative
solver_options.param_filepaths against the caseinput_directory. - file solver_registry.hpp
- Dynamic solver plugin registry with dlopen support.
- file solver_resource.hpp
- Resource class + descriptor a solver backend declares to the pool.
- file solver_stats.hpp
- Aggregated solver-activity counters for end-of-run reporting.
- file solver_status.hpp
- Solver monitoring API: write iteration status to a JSON file.
- file solver_tier.hpp
- Tier-2 solver executor seam for the SDDP method.
- file sparse_col.hpp
- Sparse column representation for linear programming variables.
- file sparse_row.hpp
- Sparse row representation for linear programming constraints.
- file stable_vector.hpp
- Append-only random-access container with stable references.
- file stage.hpp
- Planning-period (stage) definition for power system optimization.
- file stage_enums.hpp
- Named enum types for stage configuration.
- file stage_lp.hpp
- Header file defining the StageLP class for linear programming stages.
- file stage_month_guard.hpp
- Fail-fast guards for calendar-month dependent LP assembly.
- file state_variable.hpp
- State variables and dependencies for linear programming problems.
- file storage_integration.hpp
- Banded (local Lagrange) integration weights for storage balances on non-uniform node grids.
- file storage_lp.hpp
- LP formulation for energy storage elements.
- file storage_state_defaults.hpp
- Per-class defaults of
use_state_variable/daily_cycle. - file strong_index_vector.hpp
- Header for type-safe vector access with strong typing.
- file system.hpp
- Header of System class.
- file system_context.hpp
- Central execution context for power system optimization.
- file system_file_loader.hpp
- Load a
System(and optionalmodel_options) from an external Planning JSON file, with cascade-style path resolution. - file system_lp.hpp
- SystemLP class for power system linear programming formulation.
- file thermal_node.hpp
- Thermal-carrier balance node (CSP / district heat).
- file thermal_node_lp.hpp
- LP wrapper for
ThermalNode— carrier-side balance row. - file thermal_storage.hpp
- Thermal Energy Storage (TES) — CSP / district-heat storage.
- file thermal_storage_lp.hpp
- LP wrapper for the
ThermalStorageelement. - file transition_integrality.hpp
- Integrality of the commitment startup / shutdown / tier columns.
- file turbine.hpp
- Defines the Turbine structure representing a hydroelectric turbine.
- file turbine_lp.hpp
- Defines the TurbineLP class for linear programming representation.
- file uid.hpp
- Passkey-gated strong UID type
UidOf<Tag>+make_uidfactory. - file uid_traits.hpp
- Traits for UID-based data access.
- file uididx_traits.hpp
- Header for UID-to-index mapping traits for Arrow tables and vectors.
- file unit_registry.hpp
- Runtime-loadable dictionary of (class, canonical, dialect) → unit.
- file update_context.hpp
- Self-cached context for HasUpdateLP elements.
- file user_constraint.hpp
- User-defined constraint data structure for LP formulation.
- file user_constraint_enums.hpp
- Enumerations for user-defined constraint configuration.
- file user_constraint_lp.hpp
- LP element for user-defined constraints.
- file user_model.hpp
- UserModel element — a self-contained AMPL model fragment.
- file user_model_lp.hpp
- LP representation of a UserModel (generic AMPL capture) element.
- file user_param.hpp
- User-defined named parameters for constraint expressions.
- file utils.hpp
- General purpose utility functions and helpers.
- file validate_planning.hpp
- Semantic validation of a parsed Planning object.
- file variable_scale.hpp
- VariableScale struct and VariableScaleMap for LP variable scaling.
- file volume_right.hpp
- Volume-based water right (derechos de volumen).
- file volume_right_lp.hpp
- LP representation of volume-based water rights.
- file warn_once.hpp
- Thread-safe "log this warning only once" helper.
- file waterway.hpp
- Header for waterway components in hydro power systems.
- file waterway_lp.hpp
- LP formulation for waterways between junctions.
- file work_pool.hpp
- Adaptive thread pool with CPU monitoring and priority scheduling.
- file work_pool_diagnostics.hpp
- Pure helpers behind the WorkPool periodic / final log lines.