|
@@ -65,8 +65,8 @@ public class InverterAnalysis {
|
|
}
|
|
}
|
|
|
|
|
|
public void setOutputPower(Double outputPower) {
|
|
public void setOutputPower(Double outputPower) {
|
|
- if (inputPower == null) {
|
|
|
|
- this.inputPower = 0.0;
|
|
|
|
|
|
+ if (outputPower == null) {
|
|
|
|
+ this.outputPower = 0.0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -75,8 +75,8 @@ public class InverterAnalysis {
|
|
}
|
|
}
|
|
|
|
|
|
public void setInputVoltage(Double inputVoltage) {
|
|
public void setInputVoltage(Double inputVoltage) {
|
|
- if (inputPower == null) {
|
|
|
|
- this.inputPower = 0.0;
|
|
|
|
|
|
+ if (inputVoltage == null) {
|
|
|
|
+ this.inputVoltage = 0.0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|