DPsim
Loading...
Searching...
No Matches
dpsim-models
include
dpsim-models
Solver
MNAVariableCompInterface.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/Config.h>
12
#include <dpsim-models/Definitions.h>
13
14
namespace
CPS {
16
class
MNAVariableCompInterface
{
17
public
:
18
typedef
std::shared_ptr<MNAVariableCompInterface> Ptr;
19
typedef
std::vector<Ptr> List;
20
21
std::vector<std::pair<UInt, UInt>> mVariableSystemMatrixEntries;
22
24
virtual
Bool
hasParameterChanged
() = 0;
25
};
26
}
// namespace CPS
CPS::MNAVariableCompInterface
MNA interface to be used by elements that require recomputing of the system matrix.
Definition
MNAVariableCompInterface.h:16
CPS::MNAVariableCompInterface::hasParameterChanged
virtual Bool hasParameterChanged()=0
Returns true if one of the element paramters has changed.
Generated by
1.13.2