Class DriverCurveBase
java.lang.Object
neqsim.process.equipment.compressor.driver.DriverCurveBase
- All Implemented Interfaces:
Serializable, DriverCurve
- Direct Known Subclasses:
ElectricMotorDriver, GasTurbineDriver, SteamTurbineDriver
Abstract base class for driver curve implementations.
Provides common functionality for driver power, torque, and efficiency calculations. Subclasses implement driver-specific behavior.
- Version:
- 1.0
- Author:
- NeqSim Development Team
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleAltitude in meters above sea level.protected doubleAmbient temperature in Celsius.protected doubleDesign efficiency at rated conditions.protected doubleMaximum speed in RPM.protected doubleMinimum speed in RPM.protected doubleRated power in kW.protected doubleRated speed in RPM.private static final longSerialization version UID. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor.protectedDriverCurveBase(double ratedPower, double ratedSpeed, double designEfficiency) Constructor with basic parameters. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSupplyPower(double requiredPower, double speed) Checks if the driver can provide the required power at the specified speed.doubleGets the altitude.doubleGets the ambient temperature.doublegetAvailableTorque(double speed) Gets the available torque at the specified speed.doubleGets the design efficiency.doubleGets the maximum operating speed.doubleGets the minimum operating speed.doubleGets the rated (nameplate) power of the driver.doubleGets the rated speed of the driver.voidsetAltitude(double altitudeMeters) Sets the altitude for gas turbine derating.voidsetAmbientTemperature(double temperatureCelsius) Sets the ambient temperature for gas turbine derating.voidsetDesignEfficiency(double designEfficiency) Sets the design efficiency.voidsetMaxSpeed(double maxSpeed) Sets the maximum speed.voidsetMinSpeed(double minSpeed) Sets the minimum speed.voidsetRatedPower(double ratedPower) Sets the rated power.voidsetRatedSpeed(double ratedSpeed) Sets the rated speed.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DriverCurve
getAmbientDeratingFactor, getAvailablePower, getDriverType, getEfficiency, getFuelConsumption, getPowerMargin
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
ratedPower
protected double ratedPowerRated power in kW. -
ratedSpeed
protected double ratedSpeedRated speed in RPM. -
minSpeed
protected double minSpeedMinimum speed in RPM. -
maxSpeed
protected double maxSpeedMaximum speed in RPM. -
designEfficiency
protected double designEfficiencyDesign efficiency at rated conditions. -
ambientTemperature
protected double ambientTemperatureAmbient temperature in Celsius. -
altitude
protected double altitudeAltitude in meters above sea level.
-
-
Constructor Details
-
DriverCurveBase
protected DriverCurveBase()Default constructor. -
DriverCurveBase
protected DriverCurveBase(double ratedPower, double ratedSpeed, double designEfficiency) Constructor with basic parameters.- Parameters:
ratedPower- rated power in kWratedSpeed- rated speed in RPMdesignEfficiency- design efficiency (0-1)
-
-
Method Details
-
getRatedPower
public double getRatedPower()Gets the rated (nameplate) power of the driver.- Specified by:
getRatedPowerin interfaceDriverCurve- Returns:
- rated power in kW
-
getRatedSpeed
public double getRatedSpeed()Gets the rated speed of the driver.- Specified by:
getRatedSpeedin interfaceDriverCurve- Returns:
- rated speed in RPM
-
getMinSpeed
public double getMinSpeed()Gets the minimum operating speed.- Specified by:
getMinSpeedin interfaceDriverCurve- Returns:
- minimum speed in RPM
-
getMaxSpeed
public double getMaxSpeed()Gets the maximum operating speed.- Specified by:
getMaxSpeedin interfaceDriverCurve- Returns:
- maximum speed in RPM
-
getAvailableTorque
public double getAvailableTorque(double speed) Gets the available torque at the specified speed.- Specified by:
getAvailableTorquein interfaceDriverCurve- Parameters:
speed- operating speed in RPM- Returns:
- available torque in Nm
-
canSupplyPower
public boolean canSupplyPower(double requiredPower, double speed) Checks if the driver can provide the required power at the specified speed.- Specified by:
canSupplyPowerin interfaceDriverCurve- Parameters:
requiredPower- required power in kWspeed- operating speed in RPM- Returns:
- true if driver can provide the power
-
setAmbientTemperature
public void setAmbientTemperature(double temperatureCelsius) Sets the ambient temperature for gas turbine derating.- Specified by:
setAmbientTemperaturein interfaceDriverCurve- Parameters:
temperatureCelsius- ambient temperature in Celsius
-
getAmbientTemperature
public double getAmbientTemperature()Gets the ambient temperature.- Specified by:
getAmbientTemperaturein interfaceDriverCurve- Returns:
- ambient temperature in Celsius
-
setAltitude
public void setAltitude(double altitudeMeters) Sets the altitude for gas turbine derating.- Specified by:
setAltitudein interfaceDriverCurve- Parameters:
altitudeMeters- altitude in meters above sea level
-
getAltitude
public double getAltitude()Gets the altitude.- Specified by:
getAltitudein interfaceDriverCurve- Returns:
- altitude in meters
-
setRatedPower
public void setRatedPower(double ratedPower) Sets the rated power.- Parameters:
ratedPower- rated power in kW
-
setRatedSpeed
public void setRatedSpeed(double ratedSpeed) Sets the rated speed.- Parameters:
ratedSpeed- rated speed in RPM
-
setMinSpeed
public void setMinSpeed(double minSpeed) Sets the minimum speed.- Parameters:
minSpeed- minimum speed in RPM
-
setMaxSpeed
public void setMaxSpeed(double maxSpeed) Sets the maximum speed.- Parameters:
maxSpeed- maximum speed in RPM
-
getDesignEfficiency
public double getDesignEfficiency()Gets the design efficiency.- Returns:
- design efficiency (0-1)
-
setDesignEfficiency
public void setDesignEfficiency(double designEfficiency) Sets the design efficiency.- Parameters:
designEfficiency- design efficiency (0-1)
-