Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
Loading...
Searching...
No Matches
Transformer_classic.h
Go to the documentation of this file.
1#ifndef TRANSFORMER_CLASSIC_H
2#define TRANSFORMER_CLASSIC_H
3
9#include "Transformer_base.h"
10
17public:
25 Transformer_classic(const std::string& symbol, const std::string& location, int pins, const std::vector<double>& values);
26
28
29 double getMutualInductance() const { return M; } // get mutual inductance
30
31protected:
32 double M; // mutual inductance
33};
34
35
36#endif
Base class for transformer models with winding R-L parameters.
Base transformer with primary/secondary winding R and L values.
Definition Transformer_base.h:16
Classic transformer with primary, secondary, and mutual inductance.
Definition Transformer_classic.h:16
double getMutualInductance() const
Definition Transformer_classic.h:29
double M
Definition Transformer_classic.h:32