-
Notifications
You must be signed in to change notification settings - Fork 5
/
HpResult.java
49 lines (45 loc) · 1.36 KB
/
HpResult.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* © 2021. TU Dortmund University,
* Institute of Energy Systems, Energy Efficiency and Energy Economics,
* Research group Distribution grid planning and operation
*/
package edu.ie3.datamodel.models.result.system;
import java.time.ZonedDateTime;
import java.util.UUID;
import javax.measure.quantity.Power;
import tech.units.indriya.ComparableQuantity;
/** Represents calculation results of a {@link edu.ie3.datamodel.models.input.system.HpInput} */
public class HpResult extends SystemParticipantWithHeatResult {
/**
* Standard constructor with automatic uuid generation.
*
* @param time date and time when the result is produced
* @param inputModel uuid of the input model that produces the result
* @param p active power output normally provided in MW
* @param q reactive power output normally provided in MVAr
* @param qDot provided head energy
*/
public HpResult(
ZonedDateTime time,
UUID inputModel,
ComparableQuantity<Power> p,
ComparableQuantity<Power> q,
ComparableQuantity<Power> qDot) {
super(time, inputModel, p, q, qDot);
}
@Override
public String toString() {
return "HpResult{"
+ "time="
+ getTime()
+ ", inputModel="
+ getInputModel()
+ ", p="
+ getP()
+ ", q="
+ getQ()
+ ", qDot="
+ getqDot()
+ '}';
}
}