ard.collection.templates#

Classes

CollectionTemplate(**kwargs)

Template component for a energy collection system.

class ard.collection.templates.CollectionTemplate(**kwargs)[source]#

Template component for a energy collection system.

A energy collection system component, based on this template, will compute the energy collection system necessary for a farm given its layout, turbine definitions, and substation location.

Options#

modeling_optionsdict

a modeling options dictionary

Inputs#

x_turbinesnp.ndarray

a 1D numpy array indicating the x-dimension locations of the turbines, with length N_turbines

y_turbinesnp.ndarray

a 1D numpy array indicating the y-dimension locations of the turbines, with length N_turbines

x_substationsnp.ndarray

a 1D numpy array indicating the x-dimension locations of the substations, with length N_substations

y_substationsnp.ndarray

a 1D numpy array indicating the y-dimension locations of the substations, with length N_substations

Outputs#

total_length_cablesfloat

the total length of cables used in the collection system network

Discrete Outputs#

length_cablesnp.ndarray

a 1D numpy array that holds the lengths of each of the cables necessary to collect energy generated, with length N_turbines

load_cablesnp.ndarray

a 1D numpy array that holds the turbine count upstream of the cable segment (i.e. number of turbines whose power is collected through the cable), with length N_turbines

max_load_cablesint

the maximum cable capacity required by the collection system

terse_linksnp.ndarray

a 1D numpy int array encoding the electrical connections of the collection system (tree topology), with length N_turbines

initialize()[source]#

Initialization of OM component.

setup()[source]#

Setup of OM component.

compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]#

Computation for the OM component.

For a template class this is not implemented and raises an error!