DPsim
PFSolverInterfaceBranch.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/AttributeList.h>
12 #include <dpsim-models/Config.h>
13 #include <dpsim-models/Definitions.h>
14 #include <dpsim-models/Logger.h>
15 #include <dpsim-models/MathUtils.h>
16 #include <dpsim-models/PtrFactory.h>
17 #include <dpsim-models/SimNode.h>
18 #include <dpsim-models/SimTerminal.h>
19 
20 namespace CPS {
23 public:
25  virtual void pfApplyAdmittanceMatrixStamp(SparseMatrixCompRow &Y) = 0;
26 };
27 } // namespace CPS
Common base class of all Component templates.
virtual void pfApplyAdmittanceMatrixStamp(SparseMatrixCompRow &Y)=0
Stamp admittance matrix of the system.