File tree 2 files changed +34
-6
lines changed
src/main/java/edu/ie3/datamodel/models/input/thermal
2 files changed +34
-6
lines changed Original file line number Diff line number Diff line change @@ -163,11 +163,11 @@ public String toString() {
163
163
public static class CylindricalStorageInputCopyBuilder
164
164
extends ThermalStorageInputCopyBuilder <CylindricalStorageInputCopyBuilder > {
165
165
166
- private ComparableQuantity <Volume > storageVolumeLvl ;
167
- private ComparableQuantity <Temperature > inletTemp ;
168
- private ComparableQuantity <Temperature > returnTemp ;
169
- private ComparableQuantity <SpecificHeatCapacity > c ;
170
- private ComparableQuantity <Power > pThermalMax ;
166
+ ComparableQuantity <Volume > storageVolumeLvl ;
167
+ ComparableQuantity <Temperature > inletTemp ;
168
+ ComparableQuantity <Temperature > returnTemp ;
169
+ ComparableQuantity <SpecificHeatCapacity > c ;
170
+ ComparableQuantity <Power > pThermalMax ;
171
171
172
172
CylindricalStorageInputCopyBuilder (CylindricalStorageInput entity ) {
173
173
super (entity );
Original file line number Diff line number Diff line change @@ -111,10 +111,38 @@ public String toString() {
111
111
112
112
public class DomesticHotWaterStorageInputCopyBuilder extends CylindricalStorageInputCopyBuilder {
113
113
114
- private DomesticHotWaterStorageInputCopyBuilder (DomesticHotWaterStorageInput entity ) {
114
+ public DomesticHotWaterStorageInputCopyBuilder (DomesticHotWaterStorageInput entity ) {
115
115
super (entity );
116
116
}
117
117
118
+
119
+ public DomesticHotWaterStorageInputCopyBuilder storageVolumeLvl (ComparableQuantity <Volume > storageVolumeLvl ) {
120
+ this .storageVolumeLvl = storageVolumeLvl ;
121
+ return this ;
122
+ }
123
+
124
+ public DomesticHotWaterStorageInputCopyBuilder inletTemp (ComparableQuantity <Temperature > inletTemp ) {
125
+ this .inletTemp = inletTemp ;
126
+ return this ;
127
+ }
128
+
129
+ public DomesticHotWaterStorageInputCopyBuilder returnTemp (
130
+ ComparableQuantity <Temperature > returnTemp ) {
131
+ this .returnTemp = returnTemp ;
132
+ return this ;
133
+ }
134
+
135
+ public DomesticHotWaterStorageInputCopyBuilder c (ComparableQuantity <SpecificHeatCapacity > c ) {
136
+ this .c = c ;
137
+ return this ;
138
+ }
139
+
140
+ public DomesticHotWaterStorageInputCopyBuilder pThermalMax (ComparableQuantity <Power > pThermalMax ) {
141
+ this .pThermalMax = pThermalMax ;
142
+ return this ;
143
+ }
144
+
145
+ @ Override
118
146
public DomesticHotWaterStorageInputCopyBuilder scale (Double factor ) {
119
147
storageVolumeLvl (getStorageVolumeLvl ().multiply (factor ));
120
148
pThermalMax (getpThermalMax ().multiply (factor ));
You can’t perform that action at this time.
0 commit comments