|
Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
|

Functions | |
| DeviceGateResult | evaluateDeviceGate (Element &elem, const std::string &device_id, const CertificateSpec &spec) |
| Evaluate passivity / phase / geometric certificates on device Y(jω). | |
| void | reportDeviceGate (const DeviceGateResult &result, bool plotting_enabled) |
| Register gate plots and print a one-line verdict. | |
| DeviceGateResult evaluateDeviceGate | ( | Element & | elem, |
| const std::string & | device_id, | ||
| const CertificateSpec & | spec | ||
| ) |
Evaluate passivity / phase / geometric certificates on device Y(jω).
ALLOW only if all enabled checks in spec pass. Intended as a local plug-and-play gate before interconnecting into an unknown network.
References DeviceGateResult::allow, DeviceGateResult::device_id, CertificateSpec::label, DeviceGateResult::pass_dw, CertificateSweep::pass_dw, DeviceGateResult::pass_nr_phase, CertificateSweep::pass_nr_phase, DeviceGateResult::pass_nr_zero, CertificateSweep::pass_nr_zero, DeviceGateResult::pass_passivity, CertificateSweep::pass_passivity, DeviceGateResult::pass_phase, CertificateSweep::pass_phase, DeviceGateResult::pass_sector, CertificateSweep::pass_sector, DeviceGateResult::pass_shifted, CertificateSweep::pass_shifted, DeviceGateResult::pass_small_gain, CertificateSweep::pass_small_gain, DeviceGateResult::reason, CertificateSpec::require_dw, CertificateSpec::require_nr_phase, CertificateSpec::require_nr_zero_outside, CertificateSpec::require_passivity, CertificateSpec::require_phase, CertificateSpec::require_sector, CertificateSpec::require_shifted, CertificateSpec::require_small_gain, DeviceGateResult::sweep, sweepDeviceCertificate(), sweepPassesSpec(), CertificateSweep::worst_nr_phase_deg, CertificateSweep::worst_nr_zero_margin, CertificateSweep::worst_passivity, CertificateSweep::worst_phase_deg, CertificateSweep::worst_shifted, and CertificateSweep::worst_small_gain.
Referenced by example_certificate_figures().
| void reportDeviceGate | ( | const DeviceGateResult & | result, |
| bool | plotting_enabled | ||
| ) |
Register gate plots and print a one-line verdict.
References DeviceGateResult::device_id, plot_certificate_gate(), plot_certificate_geometric_sweep(), plot_certificate_passivity(), plot_certificate_phase(), DeviceGateResult::reason, and DeviceGateResult::sweep.
Referenced by example_certificate_figures().