simulation.modules
- simulation.modules.lin_ineq_constraints(p, param_name)
Function
lin_ineq_constraints()- Parameters:
p – Parameter struct
param_name – param_name
- Returns:
A
- Returns:
b_vec
- Returns:
dAdp
- Returns:
dbdp
- simulation.modules.enviro(steel_mass, distance_from_shore, fiberglass_area, CEM_CO2, CEM_WEC_capacity, rated_power_per_wec, eco_cost_steel, eco_cost_fiberglass, eco_cost_distance, social_cost_carbon)
Function
enviro()- Parameters:
steel_mass – steel_mass
distance_from_shore – distance from shore (miles)
fiberglass_area – fiberglass_area
CEM_CO2 – CEM_CO2
CEM_WEC_capacity – CEM_WEC_capacity
rated_power_per_wec – rated_power_per_wec
eco_cost_steel – eco-cost of steel ($/kg)
eco_cost_fiberglass – eco-cost of steel ($/m^2)
eco_cost_distance – eco-cost per mile from shore of fuel for boat travel ($/mi)
social_cost_carbon – social_cost_carbon
- Returns:
net_eco_value
- simulation.modules.grid_CEM(B_p, X_u, phase_X_u, gamma_phase_f, capacity_cost, location)
Function
grid_CEM()- Parameters:
B_p – B_p
X_u – X_u
phase_X_u – phase_X_u
gamma_phase_f – $\gamma$ phase f
capacity_cost – capacity_cost
location – location of grid data to use
- Returns:
CEM_CO2
- Returns:
CEM_wec_capacity
- Returns:
CEM_grid_cost
- simulation.modules.geometry(D_s, D_f, D_f_in, D_f_b, T_f_1, T_f_2, h_f, h_s, h_fs_clear, D_f_tu, t_f_t, t_f_r, t_f_c, t_f_b, t_f_tu, t_s_r, t_d_tu, D_d, D_d_tu, theta_d_tu, T_s, h_d, t_d, h_stiff_f, w_stiff_f, num_sect_f, h_stiff_d, w_stiff_d, num_stiff_d, M, rho_m, rho_w, m_scale)
Function
geometry()- Parameters:
D_s – Spar Diameter
D_f – Float Diameter
D_f_in – D_f_in
D_f_b – D_f_b
T_f_1 – T_f_1
T_f_2 – Float Draft
h_f – h_f
h_s – Spar Height
h_fs_clear – Float-Spar Clearance Height
D_f_tu – float support tube diameter (m)
t_f_t – t_f_t
t_f_r – t_f_r
t_f_c – t_f_c
t_f_b – t_f_b
t_f_tu – float support tube thickness (m)
t_s_r – t_s_r
t_d_tu – damping plate support tube radial wall thickness (m)
D_d – Diameter of damping plate (m)
D_d_tu – damping plate support tube diameter (m)
theta_d_tu – angle from horizontal of damping plate support tubes (rad)
T_s – Draft of spar (m)
h_d – h_d
t_d – Damping Plate Thickness
h_stiff_f – Float Stiffener Height
w_stiff_f – w_stiff_f
num_sect_f – num_sect_f
h_stiff_d – h_stiff_d
w_stiff_d – w_stiff_d
num_stiff_d – number of damping plate stiffeners (-)
M – Material Index
rho_m – material density (kg/m3)
rho_w – water density (kg/m3)
m_scale – factor to account for mass of neglected stiffeners (-)
- Returns:
V_d
- Returns:
m_m
- Returns:
m_f_tot
- Returns:
m_s_tot
- Returns:
A_c
- Returns:
A_lat_sub
- Returns:
I
- Returns:
drafts
- Returns:
V_f_pct
- Returns:
V_s_pct
- Returns:
GM
- Returns:
A_dt
- Returns:
L_dt
- Returns:
A_hull
- Returns:
mass
- Returns:
CB_f_from_waterline
- Returns:
CG_f_from_waterline
Modules