You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@warn"A valid value for fixedchargeunits (\$/month, \$/day, or \$/year) was not provided in urdb_response so the value provided for fixedchargefirstmeter will be ignored."
539
+
end
534
540
end
535
541
536
542
ifget(d, "minchargeunits", "") =="\$/month"
537
543
min_monthly =Float64(get(d, "mincharge", 0.0))
538
544
# first try $/month, then check if $/day or $/year exists, as of 1/28/2020 these were the only unit types in the urdb
@warn"A valid value for minchargeunits (\$/month, \$/day, or \$/year) was not provided in urdb_response so the value provided for mincharge will be ignored."
Copy file name to clipboardExpand all lines: src/core/wind.jl
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ struct with inner constructor:
35
35
function Wind(;
36
36
min_kw = 0.0,
37
37
max_kw = 1.0e9,
38
-
installed_cost_per_kw = 0.0,
38
+
installed_cost_per_kw = missing,
39
39
om_cost_per_kw = 35.0,
40
40
prod_factor_series = missing,
41
41
size_class = "",
@@ -46,7 +46,7 @@ function Wind(;
46
46
macrs_option_years = 5,
47
47
macrs_bonus_pct = 0.0,
48
48
macrs_itc_reduction = 0.5,
49
-
federal_itc_pct = 0.26,
49
+
federal_itc_pct = missing,
50
50
federal_rebate_per_kw = 0.0,
51
51
state_ibi_pct = 0.0,
52
52
state_ibi_max = 1.0e10,
@@ -68,7 +68,7 @@ function Wind(;
68
68
69
69
`size_class` must be one of ["residential", "commercial", "medium", "large"]. If `size_class` is not provided then it is determined based on the average electric load.
70
70
71
-
If no `installed_cost_per_kw` is provided (or it is 0.0) then it is determined from:
71
+
If no `installed_cost_per_kw` is provided then it is determined from:
72
72
```julia
73
73
size_class_to_installed_cost = Dict(
74
74
"residential"=> 11950.0,
@@ -101,7 +101,7 @@ These values are passed to SAM to get the turbine production factor.
101
101
struct Wind <:AbstractTech
102
102
min_kw::Float64
103
103
max_kw::Float64
104
-
installed_cost_per_kw::Float64
104
+
installed_cost_per_kw::Union{Missing, Float64}
105
105
om_cost_per_kw::Float64
106
106
prod_factor_series::Union{Missing, Array{Real,1}}
107
107
size_class::String
@@ -113,7 +113,7 @@ struct Wind <: AbstractTech
113
113
macrs_option_years::Int
114
114
macrs_bonus_pct::Float64
115
115
macrs_itc_reduction::Float64
116
-
federal_itc_pct::Float64
116
+
federal_itc_pct::Union{Missing, Float64}
117
117
federal_rebate_per_kw::Float64
118
118
state_ibi_pct::Float64
119
119
state_ibi_max::Float64
@@ -135,7 +135,7 @@ struct Wind <: AbstractTech
135
135
functionWind(;
136
136
min_kw =0.0,
137
137
max_kw =1.0e9,
138
-
installed_cost_per_kw =0.0,
138
+
installed_cost_per_kw =missing,
139
139
om_cost_per_kw =35.0,
140
140
prod_factor_series =missing,
141
141
size_class ="",
@@ -146,7 +146,7 @@ struct Wind <: AbstractTech
146
146
macrs_option_years =5,
147
147
macrs_bonus_pct =0.0,
148
148
macrs_itc_reduction =0.5,
149
-
federal_itc_pct =0.26,
149
+
federal_itc_pct =missing,
150
150
federal_rebate_per_kw =0.0,
151
151
state_ibi_pct =0.0,
152
152
state_ibi_max =1.0e10,
@@ -200,11 +200,11 @@ struct Wind <: AbstractTech
200
200
@error"Wind.size_class must be one of $(keys(size_class_to_hub_height))"
0 commit comments