parameters
¶
Classes:
-
OffshoreParameters–This class holds all offshore-wind specific techno-economic base parameter
-
OnshoreParameters–This class holds all onshore-wind specific techno-economic base parameter
-
Parameters–This class holds the base techno-economic parameter assumptions on which
OffshoreParameters
¶
Bases: Parameters
This class holds all offshore-wind specific techno-economic base parameter assumptions as static attributes as well as specific methods to manipulate offshore parameters.
distance_to_bus : numeric or array-like, optional Distance from the wind farm's bus in km from the turbine's location.
foundation : str or array-like of strings, optional Turbine's foundation type. Accepted types are: "monopile", "jacket", "semisubmersible" or "spar", by default "monopile"
mooring_count : numeric, optional Refers to the number of mooring lines are there attaching a turbine only applicable for floating foundation types. By default 3 assuming a triangular attachment to the seafloor.
anchor : str, optional Turbine's anchor type only applicable for floating foundation types, by default as recommended by [1]. Arguments accepted are "dea" (drag embedment anchor) or "spa" (suction pile anchor).
turbine_count : numeric, optional Number of turbines in the offshore windpark. CSM valid for the range [3-200], by default 80
turbine_spacing : numeric, optional Spacing distance in a row of turbines (turbines that share the electrical connection) to the bus. The value must be a multiplier of rotor diameter. CSM valid for the range [4-9], by default 5
turbine_row_spacing : numeric, optional Spacing distance between rows of turbines. The value must be a multiplier of rotor diameter. CSM valid for the range [4-10], by default 9
Initializes an instance of the OffshoreParameters class.
Methods:
-
load_and_set_custom_params–This function loads a parameter table in csv format and writes the
-
update_custom_parameters–Iterates over custom parameter names and values, checks if they
Source code in reskit/parameters/parameters.py
load_and_set_custom_params
¶
This function loads a parameter table in csv format and writes the parameter values into class attributes.
Parameters:
-
(fp¶str) –The filepath of a csv file that contains the parameter values in a tabular format with the parameter names/units as column names and the years as row indices.
-
(year¶integer) –The year for which the parameter shall be returned. Can be interpreted as a technical year or a cost year depending on the parameter.
-
(subclass¶sub class instance) –The sub class to which the attribute shall be added.
Returns:
-
None–
Source code in reskit/parameters/parameters.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | |
update_custom_parameters
¶
Iterates over custom parameter names and values, checks if they are actually class attributes and overwrites them
subclass : Parameters() sub class instance The sub class in which the custom parameters shall be updated
**kwargs : optional parameter_name = value of custom plant baseline parameters, must be attributes of the respective Parameters() class.
Source code in reskit/parameters/parameters.py
OnshoreParameters
¶
Bases: Parameters
This class holds all onshore-wind specific techno-economic base parameter assumptions as static attributes as well as specific methods to manipulate onshore parameters.
constant_rotor_diam : bool, optional Whether the rotor diameter is maintained constant or not, by default True
base_capacity : numeric or array_like, optional Baseline turbine capacity in kW, by default 4200.
base_hub_height : numeric or array_like, optional Baseline turbine hub height in m, by default 120.
base_rotor_diam : numeric or array_like, optional Baseline turbine rotor diameter in m, by default 136.
reference_wind_speed : numeric, optional Average wind speed corresponding to the baseline turbine design, by default 6.7.
min_tip_height : numeric, optional. Minimum distance in m between the lower tip of the blades and the ground, by default 20.
min_specific_power : numeric, optional Minimum specific power allowed in kw/m2, by default 180.
base_capex : numeric, optional The baseline turbine's capital costs in €, by default 1100*4200 [€/kW * kW] #TODO change to
tcc_share : float, optional The baseline turbine's TCC percentage contribution in the total cost, by default 0.673
bos_share : float, optional The baseline turbine's BOS percentage contribution in the total cost, by default 0.229
Initializes an instance of the OnshoreParameters class.
Methods:
-
load_and_set_custom_params–This function loads a parameter table in csv format and writes the
-
update_custom_parameters–Iterates over custom parameter names and values, checks if they
Source code in reskit/parameters/parameters.py
load_and_set_custom_params
¶
This function loads a parameter table in csv format and writes the parameter values into class attributes.
Parameters:
-
(fp¶str) –The filepath of a csv file that contains the parameter values in a tabular format with the parameter names/units as column names and the years as row indices.
-
(year¶integer) –The year for which the parameter shall be returned. Can be interpreted as a technical year or a cost year depending on the parameter.
-
(subclass¶sub class instance) –The sub class to which the attribute shall be added.
Returns:
-
None–
Source code in reskit/parameters/parameters.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | |
update_custom_parameters
¶
Iterates over custom parameter names and values, checks if they are actually class attributes and overwrites them
subclass : Parameters() sub class instance The sub class in which the custom parameters shall be updated
**kwargs : optional parameter_name = value of custom plant baseline parameters, must be attributes of the respective Parameters() class.
Source code in reskit/parameters/parameters.py
Parameters
¶
This class holds the base techno-economic parameter assumptions on which the individual functions rely. The base parameter set can be updated by loader/setter functions.
This class is initialized without any arguments.
Methods:
-
load_and_set_custom_params–This function loads a parameter table in csv format and writes the
-
update_custom_parameters–Iterates over custom parameter names and values, checks if they
Source code in reskit/parameters/parameters.py
load_and_set_custom_params
¶
This function loads a parameter table in csv format and writes the parameter values into class attributes.
Parameters:
-
(fp¶str) –The filepath of a csv file that contains the parameter values in a tabular format with the parameter names/units as column names and the years as row indices.
-
(year¶integer) –The year for which the parameter shall be returned. Can be interpreted as a technical year or a cost year depending on the parameter.
-
(subclass¶sub class instance) –The sub class to which the attribute shall be added.
Returns:
-
None–
Source code in reskit/parameters/parameters.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | |
update_custom_parameters
¶
Iterates over custom parameter names and values, checks if they are actually class attributes and overwrites them
subclass : Parameters() sub class instance The sub class in which the custom parameters shall be updated
**kwargs : optional parameter_name = value of custom plant baseline parameters, must be attributes of the respective Parameters() class.