DPsim
DPsim.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 #include <dpsim/Config.h>
10 #include <dpsim/Simulation.h>
11 #include <dpsim/Utils.h>
12 
13 #ifndef _MSC_VER
14 #include <dpsim/RealTimeSimulation.h>
15 #endif
16 
17 #include <dpsim-models/Components.h>
18 #include <dpsim-models/Logger.h>
19 
20 #ifdef WITH_CIM
21 #include <dpsim-models/CIM/Reader.h>
22 #endif
23 
24 #ifdef WITH_OPENMP
25 #include <dpsim/OpenMPLevelScheduler.h>
26 #endif
27 
28 namespace DPsim {
29 // #### CPS for users ####
30 using SystemTopology = CPS::SystemTopology;
31 using SystemNodeList = CPS::TopologicalNode::List;
32 using SystemComponentList = CPS::IdentifiedObject::List;
33 using Logger = CPS::Logger;
34 using Domain = CPS::Domain;
35 using PhaseType = CPS::PhaseType;
36 #ifdef WITH_CIM
37 using CIMReader = CPS::CIM::Reader;
38 #endif
39 } // namespace DPsim