[1296] | 1 | package test; |
---|
| 2 | |
---|
| 3 | public class CoolingModelData { |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | private double pressureDrop; |
---|
| 8 | private double outletRoomAirTempeature; |
---|
| 9 | private double inletRoomAirTempeature; |
---|
| 10 | private double ambientAirTempeature; |
---|
| 11 | private double airFlowVolume; |
---|
| 12 | private double alpha; |
---|
| 13 | |
---|
| 14 | public CoolingModelData(double pressureDrop, double outletRoomAirTempeature, double inletRoomAirTempeature, |
---|
| 15 | double ambientAirTempeature, double airFlowVolume, double alpha) { |
---|
| 16 | super(); |
---|
| 17 | if(pressureDrop != -1){ |
---|
| 18 | this.pressureDrop = pressureDrop; |
---|
| 19 | } else { |
---|
| 20 | this.pressureDrop = 65; |
---|
| 21 | } |
---|
| 22 | if(outletRoomAirTempeature != -1){ |
---|
| 23 | this.outletRoomAirTempeature = outletRoomAirTempeature; |
---|
| 24 | } else { |
---|
| 25 | this.outletRoomAirTempeature = 33; |
---|
| 26 | } |
---|
| 27 | if(inletRoomAirTempeature != -1){ |
---|
| 28 | this.inletRoomAirTempeature = inletRoomAirTempeature; |
---|
| 29 | } else { |
---|
| 30 | this.inletRoomAirTempeature = 18; |
---|
| 31 | } |
---|
| 32 | if(ambientAirTempeature != -1){ |
---|
| 33 | this.ambientAirTempeature = ambientAirTempeature; |
---|
| 34 | } else { |
---|
| 35 | this.ambientAirTempeature = 26; |
---|
| 36 | } |
---|
| 37 | if(airFlowVolume != -1){ |
---|
| 38 | this.airFlowVolume = airFlowVolume; |
---|
| 39 | } else { |
---|
| 40 | this.airFlowVolume = -1; |
---|
| 41 | } |
---|
| 42 | if(alpha != -1){ |
---|
| 43 | this.alpha = alpha; |
---|
| 44 | } else { |
---|
| 45 | this.alpha = 0.2; |
---|
| 46 | } |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | public double getPressureDrop() { |
---|
| 50 | return pressureDrop; |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | public double getOutletRoomAirTempeature() { |
---|
| 54 | return outletRoomAirTempeature; |
---|
| 55 | } |
---|
| 56 | |
---|
| 57 | public double getInletRoomAirTempeature() { |
---|
| 58 | return inletRoomAirTempeature; |
---|
| 59 | } |
---|
| 60 | |
---|
| 61 | public double getAmbientAirTempeature() { |
---|
| 62 | return ambientAirTempeature; |
---|
| 63 | } |
---|
| 64 | |
---|
| 65 | public double getAirFlowVolume() { |
---|
| 66 | return airFlowVolume; |
---|
| 67 | } |
---|
| 68 | |
---|
| 69 | public double getAlpha() { |
---|
| 70 | return alpha; |
---|
| 71 | } |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | } |
---|