Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
Loading...
Searching...
No Matches
Impedance_base.h
Go to the documentation of this file.
1#ifndef _IMPEDANCE_BASE_H_
2#define _IMPEDANCE_BASE_H_
3
9#include "../Element.h"
10
16class Impedance_base : public Element {
17public:
25 Impedance_base(const string& symbol, const std::string& location, int pins1, int pins2) : Element(symbol, location, pins1, pins2) {}
27
28 // Power flow calculations (AC and DC)
29 void computePowerFlow(std::map<std::string, double>& branchData,
30 std::map<std::string, double>& globalParams) const override;
31
32
33private:
34};
35
36
37#endif
Base class for multi-phase network elements with Y-parameters and MNA stamping hooks.
Definition Element.h:29
Common base for resistive, reactive, and generic admittance elements.
Definition Impedance_base.h:16
~Impedance_base()
Definition Impedance_base.h:26
void computePowerFlow(std::map< std::string, double > &branchData, std::map< std::string, double > &globalParams) const override
Compute branch power-flow quantities (override in derived classes).
Definition Impedance_base.cpp:8
Impedance_base(const string &symbol, const std::string &location, int pins1, int pins2)
Construct an impedance element with symmetric pin topology.
Definition Impedance_base.h:25