Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
Loading...
Searching...
No Matches
Examples.h File Reference

Declarations for runnable demonstration programs. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void example_OPF_single_area (bool plotting_enabled=true)
 Single-area hybrid AC–DC optimal power flow case.
 
void example_OPF_csv (bool plotting_enabled=true)
 OPF case driven by CSV network data.
 
void example_OPF_ac (bool plotting_enabled=true)
 AC-only OPF from bundled CSV case data.
 
void example_OPF_double_area (bool plotting_enabled=true)
 Double-area hybrid OPF demonstration.
 
void example_OPF_csv_1 (bool plotting_enabled=true)
 Variant OPF case from CSV data.
 
void example_OPF_PV (bool plotting_enabled=true)
 OPF study including a PV plant.
 
void example_OPF_WT (bool plotting_enabled=true)
 OPF study including a wind-turbine plant.
 
void example_DQsym_math_operations (bool plotting_enabled=true)
 Validate core dynamic-phasor (DQsym) math operations.
 
void example_DQsym_DSSS2 (bool plotting_enabled=true)
 DQsym switching / DSSS demonstration.
 
void example_DQsym_RLC (bool plotting_enabled=true)
 Simple RLC circuit in the DQsym framework.
 
void example_DQsym_Simple_MMC (bool plotting_enabled=true)
 Simplified MMC model in the DQsym solver.
 
void example_DQsym_validation ()
 DQsym validation routines (header declaration only).
 
void example_state_space ()
 Build state-space (A, B, C, D) matrices for an RLC network.
 
void example_generator (bool plotting_enabled=true)
 Generator element demonstration.
 
void example_MMC (bool plotting_enabled=true)
 MMC equilibrium, ABCD, Y-matrix, and eigenvalue study.
 
void example_WT_type_3 (bool plotting_enabled=true)
 Type-3 wind-turbine model demonstration.
 
void example_WT_type_4 (bool plotting_enabled=true)
 Type-4 wind-turbine model demonstration.
 
void example_PV_plant (bool plotting_enabled=true)
 Photovoltaic plant model demonstration.
 
void example_OHL (bool plotting_enabled=true)
 Overhead transmission line geometry and Y-parameter sweep.
 
void example_cable (bool plotting_enabled=true)
 Underground cable layers and Y-parameter sweep.
 
void example_transformer ()
 Transformer topologies and Y-parameters.
 
void example_constructors ()
 Instantiate basic element types via constructors.
 
void example_visuals (bool plotting_enabled=true)
 Plotting and visualization utilities.
 
void example_stability_check (bool plotting_enabled=true)
 Full AC–DC hybrid stability study.
 
void example_admittance_parameters ()
 Equivalent admittance parameter utilities.
 
void example_point2point_case ()
 Point-to-point HVDC-style OPF case.
 

Detailed Description

Declarations for runnable demonstration programs.

Enable one function via the CLI (Harmony --cpp <name>) or register it in src/cli.cpp. Most functions accept plotting_enabled to suppress GUI output in CI.