@@ -284,6 +284,7 @@ function MPCGenerator(;
284
284
electric_efficiency_full_load::Real = 0.3233,
285
285
electric_efficiency_half_load::Real = electric_efficiency_full_load,
286
286
fuel_avail_gal::Real = 660.0,
287
+ fuel_higher_heating_value_kwh_per_gal::Real = KWH_PER_GAL_DIESEL,
287
288
min_turn_down_fraction::Real = 0.0, # TODO change this to non-zero value
288
289
only_runs_during_grid_outage::Bool = true,
289
290
sells_energy_back_to_grid::Bool = false,
@@ -298,6 +299,7 @@ struct MPCGenerator <: AbstractGenerator
298
299
electric_efficiency_full_load
299
300
electric_efficiency_half_load
300
301
fuel_avail_gal
302
+ fuel_higher_heating_value_kwh_per_gal
301
303
min_turn_down_fraction
302
304
only_runs_during_grid_outage
303
305
sells_energy_back_to_grid
@@ -309,6 +311,7 @@ struct MPCGenerator <: AbstractGenerator
309
311
electric_efficiency_full_load:: Real = 0.3233 ,
310
312
electric_efficiency_half_load:: Real = electric_efficiency_full_load,
311
313
fuel_avail_gal:: Real = 660.0 ,
314
+ fuel_higher_heating_value_kwh_per_gal:: Real = KWH_PER_GAL_DIESEL,
312
315
min_turn_down_fraction:: Real = 0.0 , # TODO change this to non-zero value
313
316
only_runs_during_grid_outage:: Bool = true ,
314
317
sells_energy_back_to_grid:: Bool = false ,
@@ -324,6 +327,7 @@ struct MPCGenerator <: AbstractGenerator
324
327
electric_efficiency_full_load,
325
328
electric_efficiency_half_load,
326
329
fuel_avail_gal,
330
+ fuel_higher_heating_value_kwh_per_gal,
327
331
min_turn_down_fraction,
328
332
only_runs_during_grid_outage,
329
333
sells_energy_back_to_grid,
0 commit comments