DPsim
Loading...
Searching...
No Matches
Base_PSS.h
1// SPDX-FileCopyrightText: 2026 Institute for Automation of Complex Power Systems, EONERC, RWTH Aachen University
2// SPDX-License-Identifier: MPL-2.0
3
4#pragma once
5
6#include <dpsim-models/Definitions.h>
7
8namespace CPS {
9namespace Base {
10
11class PSSParameters {
12public:
13 PSSParameters(){};
14 virtual ~PSSParameters() = default;
15};
16
18class PSS {
19
20public:
21 virtual ~PSS() = default;
22
23 virtual void
24 setParameters(std::shared_ptr<Base::PSSParameters> parameters) = 0;
25
27 virtual void initializeStates(Real omega, Real activePower, Real Vd,
28 Real Vq) = 0;
29
31 virtual Real step(Real omega, Real activePower, Real Vd, Real Vq,
32 Real dt) = 0;
33};
34} // namespace Base
35} // namespace CPS
Base model for power system stabilizers.
Definition Base_PSS.h:18
virtual void initializeStates(Real omega, Real activePower, Real Vd, Real Vq)=0
Initializes PSS state variables from power-flow solution.
virtual Real step(Real omega, Real activePower, Real Vd, Real Vq, Real dt)=0