DPsim
Loading...
Searching...
No Matches
PFSolverInterfaceBus.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
12#include <dpsim-models/Config.h>
14#include <dpsim-models/Logger.h>
22#include <dpsim-models/Task.h>
23
24namespace CPS {
27protected:
29
30public:
31 typedef std::shared_ptr<PFSolverInterfaceBus> Ptr;
32 typedef std::vector<Ptr> List;
33
34 std::shared_ptr<CPS::SP::Ph1::PQNode> mPQ;
35 std::shared_ptr<CPS::SP::Ph1::PVNode> mPV;
36 std::shared_ptr<CPS::SP::Ph1::VDNode> mVD;
37
41
42 virtual void modifyPowerFlowBusType(PowerflowBusType powerflowBusType) = 0;
43 virtual void pfBusInitialize() { mPFTasks.clear(); }
44 const Task::List &pfTasks() { return mPFTasks; }
45};
46
47} // namespace CPS
std::shared_ptr< CPS::SP::Ph1::PQNode > mPQ
std::shared_ptr< CPS::SP::Ph1::VDNode > mVD
virtual void modifyPowerFlowBusType(PowerflowBusType powerflowBusType)=0
PowerflowBusType mPowerflowBusType
Define the type of bus the component is modelled by.
std::shared_ptr< CPS::SP::Ph1::PVNode > mPV
std::shared_ptr< PFSolverInterfaceBus > Ptr
std::vector< Ptr > List
Definition Task.h:28
PowerflowBusType