DPsim
Loading...
Searching...
No Matches
SP_Ph1_VDNode.h
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
10
11#include <dpsim-models/SimPowerComp.h>
12
13namespace CPS {
14namespace SP {
15namespace Ph1 {
16
17class VDNode : public SimPowerComp<Complex>, public SharedFactory<VDNode> {
18
19public:
21 const Attribute<Real>::Ptr mDeltaSetPoint;
22 const Attribute<Real>::Ptr mVoltageSetPointPerUnit;
23
24 VDNode(String uid, String name, Logger::Level logLevel = Logger::Level::off);
25
26 VDNode(String uid, String name, Real vSetPointPerUnit,
27 Logger::Level logLevel = Logger::Level::off);
28
29 VDNode(String uid, String name, Real vSetPointPerUnit, Real delta,
30 Logger::Level logLevel = Logger::Level::off);
31};
32
33} // namespace Ph1
34} // namespace SP
35} // namespace CPS
String uid()
Returns unique id.
const Attribute< Real >::Ptr mDeltaSetPoint
CHECK: This seems to never be read anywhere.
SimPowerComp(String uid, String name, Logger::Level logLevel=Logger::Level::off)