DPsim
PowerProfile.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 #include <dpsim-models/Definitions.h>
11 
12 namespace CPS {
13 struct PQData {
14  Real p;
15  Real q;
16 };
17 
18 struct PowerProfile {
19  std::map<Real, PQData> pqData;
20  std::map<Real, Real> weightingFactors;
21 };
22 } // namespace CPS