Class SolarPanel
java.lang.Object
neqsim.util.NamedBaseClass
neqsim.process.SimulationBaseClass
neqsim.process.equipment.ProcessEquipmentBaseClass
neqsim.process.equipment.powergeneration.SolarPanel
- All Implemented Interfaces:
Serializable, Runnable, ProcessEquipmentInterface, SimulationInterface, NamedInterface
Simple solar panel model converting solar irradiance to electrical power.
- Author:
- esol
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate double(package private) static org.apache.logging.log4j.Loggerprivate doubleprivate doubleprivate static final longFields 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.SolarPanel(String name) Create a solar panel with a given name.SolarPanel(String name, double irradiance, double panelArea, double efficiency) Create a solar panel with initial parameters. -
Method Summary
Modifier and TypeMethodDescriptiondoublegetPower()Get produced electrical power.voidIn this method all thermodynamic and unit operations will be calculated in a steady state calculation.voidsetEfficiency(double efficiency) Set electrical efficiency of the panel.voidsetIrradiance(double irradiance) Set incoming solar irradiance.voidsetPanelArea(double panelArea) Set panel area.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 serialVersionUID- See Also:
-
logger
static org.apache.logging.log4j.Logger logger -
irradiance
private double irradiance -
panelArea
private double panelArea -
efficiency
private double efficiency -
power
private double power
-
-
Constructor Details
-
SolarPanel
public SolarPanel()Default constructor. -
SolarPanel
Create a solar panel with a given name.- Parameters:
name- name of equipment
-
SolarPanel
Create a solar panel with initial parameters.- Parameters:
name- name of equipmentirradiance- solar irradiance [W/m^2]panelArea- panel area [m^2]efficiency- electrical efficiency (0-1)
-
-
Method Details
-
setIrradiance
public void setIrradiance(double irradiance) Set incoming solar irradiance.- Parameters:
irradiance- solar irradiance [W/m^2]
-
setPanelArea
public void setPanelArea(double panelArea) Set panel area.- Parameters:
panelArea- panel area [m^2]
-
setEfficiency
public void setEfficiency(double efficiency) Set electrical efficiency of the panel.- Parameters:
efficiency- efficiency (0-1)
-
getPower
public double getPower()Get produced electrical power.- Returns:
- power [W]
-
run
In this method all thermodynamic and unit operations will be calculated in a steady state calculation.
- Parameters:
id- UUID
-