public PowerModelCubic(double maxPower,double staticPowerPercent){
  setMaxPower(maxPower);
  setStaticPower(staticPowerPercent * maxPower);
  setConstant((maxPower - getStaticPower()) / Math.pow(100,3));
}

public PowerModelCubic ( double maxPower , double staticPowerPercent ) { setMaxPower ( maxPower ) ; setStaticPower ( staticPowerPercent * maxPower ) ; setConstant ( ( maxPower - getStaticPower ( ) ) / Math . pow ( 100 , 3 ) ) ; }
instantiates a new power model cubic .
