DPsim
Loading...
Searching...
No Matches
EMT_Ph3_SSN_Inductor.h
Go to the documentation of this file.
1/* Copyright 2017-2021 Institute for Automation of Complex Power Systems,
2 * EONERC, RWTH Aachen University
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
7 *********************************************************************************/
8#pragma once
9
12
13namespace CPS {
14namespace EMT {
15namespace Ph3 {
16namespace SSN {
26class Inductor final : public TwoTerminalVTypeSSNComp,
28 public SharedFactory<Inductor> {
29public:
31
34 Logger::Level logLevel = Logger::Level::off);
36 Inductor(String name, Logger::Level logLevel = Logger::Level::off)
37 : Inductor(name, name, logLevel) {}
38
40
41 void setParameters(const Matrix &inductance);
42};
43} // namespace SSN
44} // namespace Ph3
45} // namespace EMT
46} // namespace CPS
Inductor(String name, Logger::Level logLevel=Logger::Level::off)
Defines name and logging level.
Inductor(String uid, String name, Logger::Level logLevel=Logger::Level::off)
Defines UID, name, component parameters and logging level.
void setParameters(const Matrix &inductance)
SimPowerComp< Real >::Ptr clone(String name) override final
Returns a modified copy of the component with the given suffix added to the name and without.
TwoTerminalVTypeSSNComp(String uid, String name, Logger::Level logLevel=Logger::Level::off)
String uid()
Returns unique id.
spdlog::level::level_enum Level
Definition Logger.h:33
std::shared_ptr< SimPowerComp< VarType > > Ptr
static std::shared_ptr< Inductor > make(Args &&...args)
Definition PtrFactory.h:19
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > Matrix
Dense matrix for real numbers.
Definition Definitions.h:81
std::string String
Definition Definitions.h:65