Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
Loading...
Searching...
No Matches
Load_PQ.h
Go to the documentation of this file.
1
#ifndef _LOADPQ_H_
2
#define _LOADPQ_H_
3
9
#include "
Load_base.h
"
10
16
class
LoadPQ
:
public
Load_base
{
17
public
:
25
LoadPQ
(
const
std::string& symbol,
const
std::string& location,
int
pins, vector<double> values);
26
27
// Destructor
28
~LoadPQ
() {}
29
30
// Power flow computation for AC networks
31
void
computePowerFlow
(std::map<std::string, double>& busAC,
32
std::map<std::string, double>& global_params)
const override
;
33
34
private
:
35
double
P;
// Active power
36
double
Q;
// Reactive power
37
38
};
39
40
#endif
Load_base.h
Base class for load elements connected to network buses.
LoadPQ
Constant P-Q load for AC power-flow studies.
Definition
Load_PQ.h:16
LoadPQ::computePowerFlow
void computePowerFlow(std::map< std::string, double > &busAC, std::map< std::string, double > &global_params) const override
Compute branch power-flow quantities (override in derived classes).
Definition
Load_PQ.cpp:20
LoadPQ::~LoadPQ
~LoadPQ()
Definition
Load_PQ.h:28
Load_base
Common base for load models with power-flow support.
Definition
Load_base.h:16
harmony
src
Elements
Load
Load_PQ.h
Generated by
1.9.8