Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
Loading...
Searching...
No Matches
Load_base.h
Go to the documentation of this file.
1#ifndef _LOAD_BASE_H_
2#define _LOAD_BASE_H_
3
9#include "../Element.h"
10
16class Load_base : public Element {
17public:
25 Load_base(const string& symbol, const std::string& location, int pins1, int pins2) : Element(symbol, location, pins1, pins2) {}
26
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
33#endif
Base class for multi-phase network elements with Y-parameters and MNA stamping hooks.
Definition Element.h:29
Common base for load models with power-flow support.
Definition Load_base.h:16
Load_base(const string &symbol, const std::string &location, int pins1, int pins2)
Construct a load element with symmetric pin topology.
Definition Load_base.h:25
~Load_base()
Definition Load_base.h:27
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 Load_base.cpp:7