Yaw Module
get_yaw_count
get_yaw_count (nacelle_position_diff)
Type | Details | |
---|---|---|
nacelle_position_diff | Pandas series of nacelle position increment | |
Returns | number of yaw actuations |
get_time_yawing
get_time_yawing (nacelle_position_diff)
Type | Details | |
---|---|---|
nacelle_position_diff | Pandas series of nacelle position increment | |
Returns | time spent yawing in percent |
oriented_angle
oriented_angle (angle)
Type | Details | |
---|---|---|
angle | ||
Returns | oriented angle in range [-180,179] |
get_dataset_from_simu
get_dataset_from_simu (path='dataset.csv', cycle_period=10, rolling_average_duration=20)
returns output dataset obtained of CYCA-S
get_properties
get_properties (properties)
get_indexes
get_indexes (model_params, properties)
test_trad_control
test_trad_control (wind_timeseries, wind_timeseries_not_agg, agg, start, end, experiment=None, datatype='baseline_simu', outdir=None)
test CYCA-S and CYCA-L
YawEnv
YawEnv ()
*The main OpenAI Gym class. It encapsulates an environment with arbitrary behind-the-scenes dynamics. An environment can be partially or fully observed.
The main API methods that users of this class need to know are:
step
reset
render
close
seed
And set the following attributes:
action_space: The Space object corresponding to valid actions
observation_space: The Space object corresponding to valid observations
reward_range: A tuple corresponding to the min and max possible rewards
Note: a default reward range set to [-inf,+inf] already exists. Set it if you want a narrower range.
The methods are accessed publicly as “step”, “reset”, etc…*
get_comparaison_metrics
get_comparaison_metrics (wind_direction, power_control, power_simu, res_model, res_baseline_simu, yaw_rate, yaw_power, width_bin)
test_model_wind
test_model_wind (wind_timeseries, start_index, stop_index, ancestors, filter_duration, yaw_parameters, experiment=None, datatype='test')
test RLYCA
test_hpct_wind
test_hpct_wind (file=None, plots=None, history=None, verbose=None, outdir=None, early=None, environment_properties=None, start_index=None, stop_index=None, experiment=None, datatype='test', draw_file=None, model_file=None, log_testing_to_experiment=False, log_experiment_figure=False, min=None, hierarchy=None)
test RLYCA