1#ifndef TRANSFORMER_BASE_H
2#define TRANSFORMER_BASE_H
25 Transformer_base(
const std::string& symbol,
const std::string& location,
int pins,
const std::vector<double>& values);
30 if (winding >= 0 && winding <
R.size()) {
33 throw std::out_of_range(
"Invalid winding index");
37 if (winding >= 0 && winding <
L.size()) {
40 throw std::out_of_range(
"Invalid winding index");
44 std::map<std::string, double>& global)
const override;
47 std::vector<double>
R;
48 std::vector<double>
L;
Base class for multi-phase network elements with Y-parameters and MNA stamping hooks.
Definition Element.h:29