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
16class LoadPQ : public Load_base {
17public:
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
34private:
35 double P; // Active power
36 double Q; // Reactive power
37
38};
39
40#endif
Base class for load elements connected to network buses.
Constant P-Q load for AC power-flow studies.
Definition Load_PQ.h:16
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()
Definition Load_PQ.h:28
Common base for load models with power-flow support.
Definition Load_base.h:16