Loading...
Searching...
No Matches
WindLabAPI::IrpsWLSkewness Class Referenceabstract

An abstract class representing a skewness. More...

#include <IrpsWLSkewness.h>

Public Member Functions

virtual bool ComputeSkewnessValue (const WindLabSimulationData &Data, const Base::Vector3d &location, const double &dTime, double &dValue)=0
 Compute the skewness value for given time and location.
 
virtual bool ComputeSkewnessVectorP (const WindLabSimulationData &Data, const double &dTime, vec &dVarVector, vec &dValVector)=0
 Compute the skewness values at a given time instant and for all locations (simulation points).
 
virtual bool ComputeSkewnessVectorT (const WindLabSimulationData &Data, const Base::Vector3d &location, vec &dVarVector, vec &dValVector)=0
 Compute the skewness values at a given location (simulation point) and for all time increments.
 
virtual bool OnInitialSetting (const WindLabSimulationData &Data)=0
 Allows to do any initial taks before any of the other methods is called.
 
virtual ~IrpsWLSkewness ()
 Virtual destructor for IrpsWLSkewness class.
 
- Public Member Functions inherited from WindLabAPI::WindLabFeatureSkewness
virtual const char * getViewProviderName () const
 
 WindLabFeatureSkewness (void)
 Constructor.
 
virtual ~WindLabFeatureSkewness ()
 
virtual short mustExecute () const override
 
- Public Member Functions inherited from WindLabAPI::WindLabFeature
 WindLabFeature (void)
 Constructor.
 
virtual ~WindLabFeature ()
 destructor
 

Additional Inherited Members

- Protected Member Functions inherited from WindLabAPI::WindLabFeatureSkewness
virtual App::DocumentObjectExecReturn * recompute () override
 recompute only this object
 
virtual App::DocumentObjectExecReturn * execute () override
 recalculate the feature
 
virtual void onChanged (const App::Property *prop) override
 
- Protected Member Functions inherited from WindLabAPI::WindLabFeature
virtual PyObject * getPyObject () override
 
- Protected Attributes inherited from WindLabAPI::WindLabFeature
Py::SmartPtr PythonObject
 

Detailed Description

An abstract class representing a skewness.

This is a pure virtual class (interface) that defines the interface for all skewnesses. Wind speed or gusts can often exhibit positive skew (right skew), where there are occasional, much higher wind speeds (strong gusts) compared to the average wind speed. Simulating wind with skewness helps model these rare but extreme events that can have a significant impact on structures, such as gusts causing dynamic loading on buildings or wind turbines. Derived classes must implement all its methods.

Constructor & Destructor Documentation

◆ ~IrpsWLSkewness()

virtual WindLabAPI::IrpsWLSkewness::~IrpsWLSkewness ( )
virtual

Virtual destructor for IrpsWLSkewness class.

Provides proper cleanup in case a derived class object is destroyed.

Member Function Documentation

◆ ComputeSkewnessValue()

virtual bool WindLabAPI::IrpsWLSkewness::ComputeSkewnessValue ( const WindLabSimulationData & Data,
const Base::Vector3d & location,
const double & dTime,
double & dValue )
pure virtual

Compute the skewness value for given time and location.

Parameters
Datathe simulation data containing all the simulation parameters input by the user.
locationa location (simulation point represented by 3D position vector) where wind velocity time series is desired.
dTimethe time instant at which the skewness value will be computed.
dValuea value to be updated. This is the computed skewness value.
Returns
return true if the computation is successful and false in case of failure.

Referenced by WindLabAPI::CRPSWindLabFramework::ComputeSkewnessValue().

◆ ComputeSkewnessVectorP()

virtual bool WindLabAPI::IrpsWLSkewness::ComputeSkewnessVectorP ( const WindLabSimulationData & Data,
const double & dTime,
vec & dVarVector,
vec & dValVector )
pure virtual

Compute the skewness values at a given time instant and for all locations (simulation points).

Parameters
Datathe simulation data containing all the simulation parameters input by the user.
dTimethe time instant at which the skewness value will be computed.
dVarVectora vector to be updated. It should contains all the location numbers used to compute each value stored in dValVector.
dValVectora vector to be updated. It should contain all the values computed for each location stored in dVarVector.
Returns
return true if the computation is successful and false in case of failure.

Referenced by WindLabAPI::CRPSWindLabFramework::ComputeSkewnessVectorP().

◆ ComputeSkewnessVectorT()

virtual bool WindLabAPI::IrpsWLSkewness::ComputeSkewnessVectorT ( const WindLabSimulationData & Data,
const Base::Vector3d & location,
vec & dVarVector,
vec & dValVector )
pure virtual

Compute the skewness values at a given location (simulation point) and for all time increments.

Parameters
Datathe simulation data containing all the simulation parameters input by the user.
locationa location (simulation point represented by 3D position vector) where wind velocity time series is desired.
dVarVectora vector to be updated. It should contains all the time increments used to compute each value stored in dValVector.
dValVectora vector to be updated. It should contain all the values computed for each time increment stored in dVarVector.
Returns
return true if the computation is successful and false in case of failure.

Referenced by WindLabAPI::CRPSWindLabFramework::ComputeSkewnessVectorT().

◆ OnInitialSetting()

virtual bool WindLabAPI::IrpsWLSkewness::OnInitialSetting ( const WindLabSimulationData & Data)
pure virtual

Allows to do any initial taks before any of the other methods is called.

Parameters
Datathe simulation data containing all the simulation parameters input by the user.
Returns
return true if the computation is successful and false in case of failure.

The documentation for this class was generated from the following file:
  • RPS/LabRPS/LabRPS_KOFFI/src/Mod/WindLabAPI/App/IrpsWLSkewness.h