DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
Windmill Class Reference

#include <Windmill.h>

Public Member Functions

 Windmill ()
 
 Windmill (int _idx, string _name, Node *_node, double _size, int _type, int _kWh, int _is_active)
 
 Windmill ()
 
virtual ~Windmill ()
 
string get_name () const
 
int get_idx () const
 
int get_type () const
 
int get_is_active () const
 
double get_x () const
 
double get_y () const
 
void set_x (double value)
 
void set_y (double value)
 
double get_kWh () const
 
double get_kW_production () const
 
void set_kW_production (double _cumul)
 
void compute_kWproduction_in_farm ()
 
void export_windmills_indicators (ofstream &windmillslogs, int tstep)
 

Constructor & Destructor Documentation

◆ Windmill() [1/3]

Windmill::Windmill ( )

◆ Windmill() [2/3]

Windmill::Windmill ( int  _idx,
string  _name,
Node _node,
double  _size,
int  _type,
int  _kWh,
int  _is_active 
)

◆ Windmill() [3/3]

Windmill::Windmill ( )

◆ ~Windmill()

Windmill::~Windmill ( )
virtual

Member Function Documentation

◆ compute_kWproduction_in_farm()

void Windmill::compute_kWproduction_in_farm ( )

◆ export_windmills_indicators()

void Windmill::export_windmills_indicators ( ofstream &  windmillslogs,
int  tstep 
)

◆ get_idx()

int Windmill::get_idx ( ) const

◆ get_is_active()

int Windmill::get_is_active ( ) const

◆ get_kW_production()

double Windmill::get_kW_production ( ) const

◆ get_kWh()

double Windmill::get_kWh ( ) const

◆ get_name()

string Windmill::get_name ( ) const

◆ get_type()

int Windmill::get_type ( ) const

◆ get_x()

double Windmill::get_x ( ) const

◆ get_y()

double Windmill::get_y ( ) const

◆ set_kW_production()

void Windmill::set_kW_production ( double  _cumul)

◆ set_x()

void Windmill::set_x ( double  value)

◆ set_y()

void Windmill::set_y ( double  value)

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