Class WindTurbine
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.equipment.powergeneration.WindTurbine
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, SimulationInterface, NamedInterface
Simple wind turbine model based on actuator disk theory.
The power produced is given by 0.5 * rho_air * rotorArea * windSpeed^3 * powerCoefficient. Air density is assumed constant.
- Author:
- esol
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate doubleprivate doubleprivate doubleprivate static final longSerialization version UID.private doubleFields inherited from class ProcessEquipmentBaseClass
conditionAnalysisMessage, energyStream, hasController, isSolved, properties, reportFields inherited from class SimulationBaseClass
calcIdentifier, calculateSteadyState, timeFields inherited from class NamedBaseClass
name -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.WindTurbine(String name) Construct a wind turbine with a given name. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet air density used in the model.doublegetPower()Get calculated power output in W.doubleGet power coefficient.doubleGet rotor swept area in m^2.doubleGet wind speed in m/s.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetAirDensity(double airDensity) Set air density used in the model.voidsetPowerCoefficient(double powerCoefficient) Set power coefficient (aerodynamic efficiency).voidsetRotorArea(double rotorArea) Set rotor swept area in m^2.voidsetWindSpeed(double windSpeed) Set wind speed in m/s.Methods inherited from class ProcessEquipmentBaseClass
copy, displayResult, equals, getConditionAnalysisMessage, getController, getEnergyStream, getEntropyProduction, getExergyChange, getMassBalance, getMassBalance, getMechanicalDesign, getMinimumFlow, getPressure, getPressure, getProperty, getReport_json, getResultTable, getSpecification, getTemperature, getTemperature, getThermoSystem, hashCode, initMechanicalDesign, isActive, isActive, isSetEnergyStream, reportResults, run_step, runConditionAnalysis, setController, setEnergyStream, setEnergyStream, setFlowValveController, setMinimumFlow, setPressure, setRegulatorOutSignal, setSpecification, setTemperature, solved, toJson, toJsonMethods inherited from class SimulationBaseClass
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTimeMethods inherited from class NamedBaseClass
getName, getTagName, setName, setTagNameMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamedInterface
getName, getTagName, setName, setTagNameMethods inherited from interface ProcessEquipmentInterface
getCapacityDuty, getCapacityMax, getExergyChange, getFluid, getRestCapacity, needRecalculation, validateSetupMethods inherited from interface SimulationInterface
getCalculateSteadyState, getCalculationIdentifier, getTime, increaseTime, isRunInSteps, run, run_step, runTransient, runTransient, setCalculateSteadyState, setCalculationIdentifier, setRunInSteps, setTime
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
windSpeed
private double windSpeed -
rotorArea
private double rotorArea -
powerCoefficient
private double powerCoefficient -
airDensity
private double airDensity -
power
private double power
-
-
Constructor Details
-
WindTurbine
public WindTurbine()Default constructor. -
WindTurbine
Construct a wind turbine with a given name.- Parameters:
name- name of the unit
-
-
Method Details
-
setWindSpeed
public void setWindSpeed(double windSpeed) Set wind speed in m/s.- Parameters:
windSpeed- wind speed [m/s]
-
getWindSpeed
public double getWindSpeed()Get wind speed in m/s.- Returns:
- wind speed [m/s]
-
setRotorArea
public void setRotorArea(double rotorArea) Set rotor swept area in m^2.- Parameters:
rotorArea- swept area [m^2]
-
getRotorArea
public double getRotorArea()Get rotor swept area in m^2.- Returns:
- rotor area [m^2]
-
setPowerCoefficient
public void setPowerCoefficient(double powerCoefficient) Set power coefficient (aerodynamic efficiency).- Parameters:
powerCoefficient- power coefficient [-]
-
getPowerCoefficient
public double getPowerCoefficient()Get power coefficient.- Returns:
- power coefficient [-]
-
setAirDensity
public void setAirDensity(double airDensity) Set air density used in the model.- Parameters:
airDensity- air density [kg/m^3]
-
getAirDensity
public double getAirDensity()Get air density used in the model.- Returns:
- air density [kg/m^3]
-
getPower
public double getPower()Get calculated power output in W.- Returns:
- power [W]
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Parameters:
id- UUID
-