Outputs
Financial outputs
REopt.add_financial_results
— Functionadd_financial_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict; _n="")
Adds the Financial results to the dictionary passed back from run_reopt
using the solved model m
and the REoptInputs
for node _n
. Note: the node number is an empty string if evaluating a single Site
.
Financial results:
lcc
Optimal lifecycle costlifecycle_capital_costs_plus_om
Capital cost for all technologies plus present value of operations and maintenance over anlaysis periodlifecycle_capital_costs
Net capital costs for all technologies, in present value, including replacement costs and incentives.
ElectricTariff outputs
REopt.add_electric_tariff_results
— Functionadd_electric_tariff_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict; _n="")
Adds the ElectricTariff results to the dictionary passed back from run_reopt
using the solved model m
and the REoptInputs
for node _n
. Note: the node number is an empty string if evaluating a single Site
.
ElectricTariff results:
lifecycle_energy_cost
lifecycle cost of energy from the grid in present value, after taxyear_one_energy_cost
cost of energy from the grid over the first yearlifecycle_demand_cost
lifecycle cost of power from the grid in present value, after taxyear_one_demand_cost
cost of power from the grid over the first yearlifecycle_fixed_cost
lifecycle fixed cost in present value, after taxyear_one_fixed_cost
fixed cost over the first yearlifecycle_min_charge_adder
lifecycle minimum charge in present value, after taxyear_one_min_charge_adder
minimum charge over the first yearyear_one_bill
sum ofyear_one_energy_cost
,year_one_demand_cost
,year_one_fixed_cost
,year_one_min_charge_adder
, andyear_one_coincident_peak_cost
lifecycle_export_benefit
lifecycle export credits in present value, after taxyear_one_export_benefit
export credits over the first yearlifecycle_coincident_peak_cost
lifecycle coincident peak charge in present valueyear_one_coincident_peak_cost
coincident peak charge over the first year
ElectricLoad outputs
REopt.add_electric_load_results
— Functionadd_electric_load_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict; _n="")
Adds the ElectricLoad results to the dictionary passed back from run_reopt
using the solved model m
and the REoptInputs
for node _n
. Note: the node number is an empty string if evaluating a single Site
.
ElectricLoad results:
load_series_kw
vector of site load in every time stepcritical_load_series_kw
vector of site critical load in every time stepannual_calculated_kwh
sum of theload_series_kw
ElectricUtility outputs
REopt.add_electric_utility_results
— Functionadd_electric_utility_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict; _n="")
Adds the ElectricUtility results to the dictionary passed back from run_reopt
using the solved model m
and the REoptInputs
for node _n
. Note: the node number is an empty string if evaluating a single Site
.
ElectricUtility results:
year_one_energy_supplied_kwh
Total energy supplied from the grid in year one.year_one_to_load_series_kw
Vector of powers drawn from the grid to serve load in year one.year_one_to_battery_series_kw
Vector of powers drawn from the grid to charge the battery in year one.
PV outputs
REopt.add_pv_results
— Functionadd_pv_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict; _n="")
Adds the PV results to the dictionary passed back from run_reopt
using the solved model m
and the REoptInputs
for node _n
. Note: the node number is an empty string if evaluating a single Site
.
The key(s) used to access PV outputs in the results dictionary is determined by the PV.name
value to allow for modeling multiple PV options. (The default PV.name
is "PV".)
PV results:
size_kw
Optimal PV capacitylifecycle_om_cost
Lifecycle operations and maintenance cost in present value, after taxyear_one_energy_produced_kwh
Energy produced over the first yearaverage_annual_energy_produced_kwh
Average annual energy produced when accounting for degradationlcoe_per_kwh
Levelized Cost of Energy produced by the PV systemyear_one_to_load_series_kw
Vector of power used to meet load over the first yearyear_one_to_battery_series_kw
Vector of power used to charge the battery over the first yearyear_one_to_grid_series_kw
Vector of power exported to the grid over the first yearyear_one_curtailed_production_series_kw
Vector of power curtailed over the first yearaverage_annual_energy_exported_kwh
Average annual energy exported to the grid
Wind outputs
REopt.add_wind_results
— Functionadd_wind_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict; _n="")
Adds the Wind results to the dictionary passed back from run_reopt
using the solved model m
and the REoptInputs
for node _n
. Note: the node number is an empty string if evaluating a single Site
.
Wind results:
size_kw
Optimal Wind capacitylifecycle_om_cost
Lifecycle operations and maintenance cost in present value, after taxyear_one_om_cost
Operations and maintenance cost in the first yearyear_one_to_battery_series_kw
Vector of power used to charge the battery over the first yearyear_one_to_grid_series_kw
Vector of power exported to the grid over the first yearaverage_annual_energy_exported_kwh
Average annual energy exported to the gridyear_one_to_load_series_kw
Vector of power used to meet load over the first yearyear_one_energy_produced_kwh
Energy produced over the first yearaverage_annual_energy_produced_kwh
Average annual energy produced when accounting for degradationlcoe_per_kwh
Levelized Cost of Energy produced by the PV systemyear_one_curtailed_production_series_kw
Vector of power curtailed over the first year
Storage outputs
REopt.add_storage_results
— Functionadd_storage_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict; _n="")
Adds the Storage results to the dictionary passed back from run_reopt
using the solved model m
and the REoptInputs
for node _n
. Note: the node number is an empty string if evaluating a single Site
.
Storage results:
size_kw
Optimal inverter capacitysize_kwh
Optimal storage capacityyear_one_soc_series_pct
Vector of normalized (0-1) state of charge values over the first yearyear_one_to_load_series_kw
Vector of power used to meet load over the first yearyear_one_to_grid_series_kw
Vector of power exported to the grid over the first year
Generator outputs
REopt.add_generator_results
— Functionadd_generator_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict; _n="")
Adds the Generator results to the dictionary passed back from run_reopt
using the solved model m
and the REoptInputs
for node _n
. Note: the node number is an empty string if evaluating a single Site
.
Generator results:
size_kw
Optimal generator capacitylifecycle_fixed_om_cost
Lifecycle fixed operations and maintenance cost in present value, after taxyear_one_fixed_om_cost
fixed operations and maintenance cost over the first yearlifecycle_variable_om_cost
Lifecycle variable operations and maintenance cost in present value, after taxyear_one_variable_om_cost
variable operations and maintenance cost over the first yearlifecycle_fuel_cost
Lifecycle fuel cost in present value, after taxyear_one_fuel_cost
Fuel cost over the first yearfuel_used_gal
Gallons of fuel used in each yearyear_one_to_battery_series_kw
Vector of power sent to battery in year oneyear_one_to_grid_series_kw
Vector of power sent to grid in year oneyear_one_to_load_series_kw
Vector of power sent to load in year oneyear_one_energy_produced_kwh
Total energy produced in year oneaverage_annual_energy_produced_kwh
Average annual energy produced over analysis period
CHP outputs
REopt.add_chp_results
— Functionadd_chp_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict; _n="")
Adds the CHP
results to the dictionary passed back from run_reopt
using the solved model m
and the REoptInputs
for node _n
. Note: the node number is an empty string if evaluating a single Site
.
CHP results:
size_kw
Power capacity size of the CHP system [kW]size_supplemental_firing_kw
Power capacity of CHP supplementary firing system [kW]year_one_fuel_used_mmbtu
Fuel consumed in year one [MMBtu]year_one_electric_energy_produced_kwh
Electric energy produced in year one [kWh]year_one_thermal_energy_produced_mmbtu
Thermal energy produced in year one [MMBtu]year_one_electric_production_series_kw
Electric power production time-series array [kW]year_one_to_grid_series_kw
Electric power exported time-series array [kW]year_one_to_battery_series_kw
Electric power to charge the battery storage time-series array [kW]year_one_to_load_series_kw
Electric power to serve the electric load time-series array [kW]year_one_thermal_to_waste_series_mmbtu_per_hour
Thermal power wasted/unused/vented time-series array [MMBtu/hr]year_one_thermal_to_load_series_mmbtu_per_hour
Thermal power to serve the heating load time-series array [MMBtu/hr]year_one_chp_fuel_cost
Fuel cost from fuel consumed by the CHP system [$]lifecycle_chp_fuel_cost
Fuel cost from fuel consumed by the CHP system [$]
Uncertain Outages outputs
REopt.add_outage_results
— Functionadd_outage_results(m::JuMP.AbstractModel, p::REoptInputs, d::Dict)
Adds the Outages results to the dictionary passed back from run_reopt
using the solved model m
and the REoptInputs
. Only added to results when multiple outages are modeled via the ElectricUtility.outage_durations
input.
When modeling PV the name of the PV system is used for the output keys to allow for modeling multiple PV systems. The default PV name is PV
.
The Outage results can be very large when many outages are modeled and can take a long time to generate.
Outages results:
expected_outage_cost
The expected outage cost over the random outages modeled.max_outage_cost_per_outage_duration
The maximum outage cost in every outage duration modeled.dvUnservedLoad
The amount of unserved load in each outage and each time step.unserved_load_per_outage
The total unserved load in each outage.mg_storage_upgrade_cost
The cost to include the storage system in the microgrid.storage_upgraded
Boolean that is true if it is cost optimal to include the storage system in the microgrid.PVmg_kw
Optimal microgrid PV capacity. Note that the namePV
can change based on user providedPV.name
.mg_PV_upgrade_cost
The cost to include the PV system in the microgrid.mgPVtoBatt
Array of PV power sent to the battery in every outage modeled.mgPVtoCurtail
Array of PV curtailed in every outage modeled.mgPVtoLoad
Array of PV power used to meet load in every outage modeled.Generatormg_kw
Optimal microgrid Generator capacity. Note that the nameGenerator
can change based on user providedGenerator.name
.mg_Generator_upgrade_cost
The cost to include the Generator system in the microgrid.mgGeneratortoBatt
Array of Generator power sent to the battery in every outage modeled.mgGeneratortoCurtail
Array of Generator curtailed in every outage modeled.mgGeneratortoLoad
Array of Generator power used to meet load in every outage modeled.mg_Generator_fuel_used
Array of Generator fuel used in every outage modeled.
The output keys for "Outages" are subject to change.