Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
Loading...
Searching...
No Matches
RES_base.h
Go to the documentation of this file.
1
#ifndef _RES_BASE_H_
2
#define _RES_BASE_H_
3
9
#include "../Element.h"
10
16
class
RES_base
:
public
Element
{
17
public
:
23
RES_base
(
const
string
& symbol,
const
std::string& location) :
Element
(symbol, location, 3, 3) {}
24
25
~RES_base
() =
default
;
26
void
computePowerFlow
(std::map<std::string, double>& branchData,
27
std::map<std::string, double>& globalParams)
const override
;
28
};
29
30
31
#endif
Element
Base class for multi-phase network elements with Y-parameters and MNA stamping hooks.
Definition
Element.h:29
RES_base
Common base for wind and PV plant elements.
Definition
RES_base.h:16
RES_base::~RES_base
~RES_base()=default
RES_base::computePowerFlow
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
RES_base.cpp:7
RES_base::RES_base
RES_base(const string &symbol, const std::string &location)
Construct a three-phase RES element.
Definition
RES_base.h:23
harmony
src
Elements
RES
RES_base.h
Generated by
1.9.8