DPsim
Loading...
Searching...
No Matches
CPS::Signal::HydroTurbine Class Reference

#include <HydroTurbine.h>

Inheritance diagram for CPS::Signal::HydroTurbine:
[legend]
Collaboration diagram for CPS::Signal::HydroTurbine:
[legend]

Public Member Functions

 HydroTurbine (const String &name, CPS::Logger::Level logLevel=CPS::Logger::Level::off)
 
void setParameters (std::shared_ptr< Base::TurbineParameters > parameters) final
 
void initializeStates (Real Pminit) final
 Set steady-state initial values (call after setParameters, before first step)
 
Real step (Real Pgv, Real dt) final
 Step the turbine with valve/gate opening Pgv and return mechanical power Pm.
 
- Public Member Functions inherited from CPS::SimSignalComp
 SimSignalComp (String uid, String name, Logger::Level logLevel=Logger::Level::off)
 
 SimSignalComp (String name, Logger::Level logLevel=Logger::Level::off)
 
virtual void initialize (Real timeStep)
 
virtual void initialize (Real omega, Real timeStep)
 
virtual Task::List getTasks ()
 
void setBehaviour (Behaviour behaviour)
 Set behavior of component, e.g. initialization.
 
- Public Member Functions inherited from CPS::TopologicalSignalComp
 TopologicalSignalComp (String uid, String name, Logger::Level logLevel=Logger::Level::off)
 Basic constructor that takes UID, name and log level.
 
 TopologicalSignalComp (String name, Logger::Level logLevel=Logger::Level::off)
 Basic constructor that takes name and log level and sets the UID to name as well.
 
- Public Member Functions inherited from CPS::IdentifiedObject
 IdentifiedObject (const String &uid, const String &name)
 
 IdentifiedObject (const String &name)
 
AttributeBase::Ptr attribute (const String &name) const
 Return pointer to an attribute.
 
template<typename T>
Attribute< T >::Ptr attributeTyped (const String &name) const
 Return pointer to an attribute.
 
const AttributeBase::Map & attributes () const
 
String name ()
 
String uid ()
 Returns unique id.
 
String type ()
 Get component type (cross-platform)
 
virtual String description ()
 
- Public Member Functions inherited from CPS::Base::Turbine
virtual void setParameters (std::shared_ptr< Base::TurbineParameters > parameters)=0
 

Additional Inherited Members

- Public Types inherited from CPS::SimSignalComp
enum  Behaviour { Initialization , Simulation }
 
typedef std::shared_ptr< SimSignalCompPtr
 
typedef std::vector< Ptr > List
 
- Public Types inherited from CPS::TopologicalSignalComp
typedef std::shared_ptr< TopologicalSignalCompPtr
 
typedef std::vector< Ptr > List
 
- Public Types inherited from CPS::IdentifiedObject
typedef std::shared_ptr< IdentifiedObjectPtr
 
typedef std::vector< Ptr > List
 
- Static Public Member Functions inherited from SharedFactory< HydroTurbine >
static std::shared_ptr< HydroTurbine > make (Args &&...args)
 
- Public Attributes inherited from CPS::IdentifiedObject
const Attribute< String >::Ptr mName
 Human readable name.
 
const Attribute< String >::Ptr mUID
 Unique identifier.
 
- Protected Attributes inherited from CPS::SimSignalComp
Bool mBehaviour = Behaviour::Simulation
 
- Protected Attributes inherited from CPS::TopologicalSignalComp
Logger::Log mSLog
 Component logger.
 
Logger::Level mLogLevel
 Component logger control for internal variables.
 
- Protected Attributes inherited from CPS::IdentifiedObject
AttributeList::Ptr mAttributes = AttributeList::make()
 Attribute List.
 

Detailed Description

Hydro turbine — water starting time model. Transfer function: (1 - s*Tw) / (1 + 0.5*s*Tw) Ref.: A. Roehder, B. Fuchs, J. Massman, M. Quester, A. Schnettler, "Transmission system stability assessment within an integrated grid development process"

Definition at line 25 of file HydroTurbine.h.

Constructor & Destructor Documentation

◆ HydroTurbine()

Signal::HydroTurbine::HydroTurbine ( const String & name,
CPS::Logger::Level logLevel = CPS::Logger::Level::off )

Definition at line 9 of file HydroTurbine.cpp.

Member Function Documentation

◆ initializeStates()

void HydroTurbine::initializeStates ( Real PmInit)
finalvirtual

Set steady-state initial values (call after setParameters, before first step)

Implements CPS::Base::Turbine.

Definition at line 38 of file HydroTurbine.cpp.

◆ setParameters()

void HydroTurbine::setParameters ( std::shared_ptr< Base::TurbineParameters > parameters)
final

Definition at line 14 of file HydroTurbine.cpp.

◆ step()

Real HydroTurbine::step ( Real Pgv,
Real dt )
finalvirtual

Step the turbine with valve/gate opening Pgv and return mechanical power Pm.

Implements CPS::Base::Turbine.

Definition at line 58 of file HydroTurbine.cpp.


The documentation for this class was generated from the following files: