DPsim
Loading...
Searching...
No Matches
SP_Ph1_PVNode.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
9#pragma once
11
12namespace CPS {
13namespace SP {
14namespace Ph1 {
15
16class PVNode : public SimPowerComp<Complex>, public SharedFactory<PVNode> {
17public:
21
22 PVNode(String uid, String name, Logger::Level logLevel = Logger::Level::off);
23
24 PVNode(String uid, String name, Real power, Real vSetPoint,
25 Logger::Level logLevel = Logger::Level::off);
26
27 PVNode(String uid, String name, Real power, Real vSetPoint, Real maxQ,
28 Real ratedU, Real ratedS, Logger::Level logLevel = Logger::Level::off);
29};
30
31} // namespace Ph1
32} // namespace SP
33} // namespace CPS
AttributePointer< Attribute< T > > Ptr
Definition Attribute.h:250
String uid()
Returns unique id.
spdlog::level::level_enum Level
Definition Logger.h:33
PVNode(String uid, String name, Logger::Level logLevel=Logger::Level::off)
PVNode(String uid, String name, Real power, Real vSetPoint, Logger::Level logLevel=Logger::Level::off)
const Attribute< Real >::Ptr mVoltageSetPoint
const Attribute< Real >::Ptr mVoltagePerUnit
const Attribute< Real >::Ptr mPowerSetPoint
SimPowerComp(String uid, String name, Logger::Level logLevel=Logger::Level::off)
std::string String
Definition Definitions.h:65
double Real
Definition Definitions.h:62