|
Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
|
Workflow 4 — GFM droop tuning to restore device certificates. More...
#include "Certificate_spec.h"#include "Stability_certificate.h"#include <string>#include <vector>

Go to the source code of this file.
Classes | |
| struct | GfmTuningSample |
| One candidate in the GFM droop search. More... | |
| struct | GfmTuningResult |
| Result of a GFM tuning search. More... | |
Functions | |
| GfmTuningResult | tuneGfmDroops (MMC &mmc, const CertificateSpec &spec, const GfmTuningBounds &bounds={}) |
| Grid-search GFM P/Q droops; pick the feasible point with largest passivity margin. | |
| void | reportGfmTuning (const GfmTuningResult &result, bool plotting_enabled=true) |
Workflow 4 — GFM droop tuning to restore device certificates.
| void reportGfmTuning | ( | const GfmTuningResult & | result, |
| bool | plotting_enabled = true |
||
| ) |
| GfmTuningResult tuneGfmDroops | ( | MMC & | mmc, |
| const CertificateSpec & | spec, | ||
| const GfmTuningBounds & | bounds = {} |
||
| ) |
Grid-search GFM P/Q droops; pick the feasible point with largest passivity margin.
Restores the MMC to nominal droops if no feasible point is found. Requires GFM enabled (MMC::hasGfm).
References GfmTuningResult::after, GfmTuningResult::before, GfmTuningSample::certified, MMC::computeABCD(), GfmTuningResult::found, MMC::getGfmDroops(), MMC::hasGfm(), j, GfmTuningSample::Kdroop_P, GfmTuningResult::Kdroop_P_best, GfmTuningBounds::Kdroop_P_max, GfmTuningBounds::Kdroop_P_min, GfmTuningResult::Kdroop_P_nominal, GfmTuningSample::Kdroop_Q, GfmTuningResult::Kdroop_Q_best, GfmTuningBounds::Kdroop_Q_max, GfmTuningBounds::Kdroop_Q_min, GfmTuningResult::Kdroop_Q_nominal, GfmTuningResult::message, GfmTuningBounds::n_P, GfmTuningBounds::n_Q, GfmTuningResult::samples, GfmTuningBounds::scale_P_hi, GfmTuningBounds::scale_P_lo, GfmTuningBounds::scale_Q_hi, GfmTuningBounds::scale_Q_lo, MMC::setGfmDroops(), MMC::solveEquilibrium(), sweepDeviceCertificate(), sweepPassesSpec(), CertificateSweep::worst_passivity, GfmTuningSample::worst_passivity, CertificateSweep::worst_phase_deg, and GfmTuningSample::worst_phase_deg.
Referenced by example_certificate_figures().