218 #ifndef solarCalculator_H 219 #define solarCalculator_H 237 class solarCalculator
292 scalar sunTrackingUpdateInterval_;
304 autoPtr<coordinateSystem> coord_;
310 scalar directSolarRad_;
313 scalar diffuseSolarRad_;
319 autoPtr<Function1<scalar>> directSolarRads_;
322 autoPtr<Function1<scalar>> diffuseSolarRads_;
328 scalar skyCloudCoverFraction_;
331 scalar groundReflectivity_;
351 solarCalculator(
const solarCalculator&) =
delete;
354 void operator=(
const solarCalculator&) =
delete;
363 void calculateBetaTheta();
366 void calculateSunDirection();
378 solarCalculator(
const dictionary&,
const fvMesh&);
409 return sunDirectionModel_;
415 return sunLoadModel_;
433 return directSolarRad_;
439 return directSolarRad_;
445 return diffuseSolarRad_;
451 return diffuseSolarRad_;
475 return groundReflectivity_;
487 return sunTrackingUpdateInterval_;
~solarCalculator()=default
Destructor.
Base class for coordinate system specification, the default coordinate system type is cartesian ...
sunLModel
Options for the Sun load models.
scalar theta() const noexcept
Return const access to theta.
void correctDiffuseSolarRad()
Correct diffuse solar irradiation.
static const Enum< sunDirModel > sunDirectionModelTypeNames_
Names for sunDirModel.
scalar groundReflectivity() const noexcept
Return const access to the ground reflectivity.
const coordinateSystem & coord() const noexcept
Return const access to the coordinate system.
scalar & directSolarRad()
Return non-const access to the direct solar irradiation.
const sunLModel & sunLoadModel() const noexcept
Return const access to the Sun load model.
static const Enum< sunLModel > sunLModelTypeNames_
Names for sunLModel.
const sunDirModel & sunDirectionModel() const noexcept
Return const access to the Sun direction model.
scalar startTime() const noexcept
Return const access to startTime.
void correctDirectSolarRad()
Correct direct solar irradiation.
ClassName("solarCalculator")
sunDirModel
Options for the Sun direction models.
scalar beta() const noexcept
Return const access to beta.
scalar & diffuseSolarRad()
Return non-const access to the diffuse solar irradiation.
scalar C() const noexcept
Return const access to the C constant.
vector & direction()
Return non-const access to the Sun direction.
Field< vector > vectorField
Specialisation of Field<T> for vector.
scalar sunTrackingUpdateInterval() const noexcept
Return const access to sunTrackingUpdateInterval.
void correctSunDirection()
Correct the Sun direction.