DPsim
Loading...
Searching...
No Matches
Base_Ph3_VoltageSource.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
10
11
#include <
dpsim-models/AttributeList.h
>
12
#include <
dpsim-models/Definitions.h
>
13
14
namespace
CPS
{
15
namespace
Base
{
16
namespace
Ph3
{
17
class
VoltageSource
{
18
public
:
20
virtual
void
setParameters
(
Complex
voltageRef,
Real
srcFreq = -1){} = 0;
21
virtual
void
updateVoltage
() = 0;
22
};
23
}
// namespace Ph3
24
}
// namespace Base
25
}
// namespace CPS
AttributeList.h
CPS::Base::Ph3::VoltageSource
Definition
Base_Ph3_VoltageSource.h:17
CPS::Base::Ph3::VoltageSource::setParameters
virtual void setParameters(Complex voltageRef, Real srcFreq=-1)
Sets model specific parameters.
Definition
Base_Ph3_VoltageSource.h:20
CPS::Base::Ph3::VoltageSource::updateVoltage
virtual void updateVoltage()=0
Definitions.h
CPS::Base::Ph3
Definition
Base_Ph3_Capacitor.h:16
CPS::Base
Definition
Base_AvVoltageSourceInverterDQ.h:15
CPS
Definition
Attribute.h:17
CPS::Real
double Real
Definition
Definitions.h:62
CPS::Complex
std::complex< Real > Complex
Definition
Definitions.h:63
dpsim-models
include
dpsim-models
Base
Base_Ph3_VoltageSource.h
Generated by
1.13.2