Skip to content

Commit

Permalink
Merge pull request #1286 from NREL-Sienna/rh/update_table_data_parser
Browse files Browse the repository at this point in the history
Add VOM cost to table data parser
  • Loading branch information
rodrigomha authored Feb 21, 2025
2 parents be072ca + 1a45e59 commit 71dfb64
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/models/cost_function_timeseries.jl
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,12 @@ function set_fuel_cost!(
to_set = _process_set_cost(Float64, Float64, sys, component, data)
op_cost = get_operation_cost(component)
new_var_cost =
FuelCurve(get_value_curve(var_cost), get_power_units(var_cost), to_set)
FuelCurve(
get_value_curve(var_cost),
get_power_units(var_cost),
to_set,
get_vom_cost(var_cost),
)
set_variable!(op_cost, new_var_cost)
end

Expand Down

0 comments on commit 71dfb64

Please sign in to comment.