Outputs

Financial outputs

REoptLite.add_financial_resultsFunction
add_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 cost
  • lifecycle_capital_costs_plus_om Capital cost for all technologies plus present value of operations and maintenance over anlaysis period
  • lifecycle_capital_costs Net capital costs for all technologies, in present value, including replacement costs and incentives.
source

ElectricTariff outputs

REoptLite.add_electric_tariff_resultsFunction
add_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 tax
  • year_one_energy_cost cost of energy from the grid over the first year
  • lifecycle_demand_cost lifecycle cost of power from the grid in present value, after tax
  • year_one_demand_cost cost of power from the grid over the first year
  • lifecycle_fixed_cost lifecycle fixed cost in present value, after tax
  • year_one_fixed_cost fixed cost over the first year
  • lifecycle_min_charge_adder lifecycle minimum charge in present value, after tax
  • year_one_min_charge_adder minimum charge over the first year
  • year_one_bill sum of year_one_energy_cost, year_one_demand_cost, year_one_fixed_cost, and year_one_min_charge_adder
  • lifecycle_export_benefit lifecycle export credits in present value, after tax
  • year_one_export_benefit export credits over the first year
  • lifecycle_coincident_peak_cost lifecycle coincident peak charge in present value
  • year_one_coincident_peak_cost coincident peak charge over the first year
source

ElectricLoad outputs

REoptLite.add_electric_load_resultsFunction
add_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 step
  • critical_load_series_kw vector of site critical load in every time step
  • annual_calculated_kwh sum of the load_series_kw
source

ElectricUtility outputs

REoptLite.add_electric_utility_resultsFunction
add_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.
source

PV outputs

REoptLite.add_pv_resultsFunction
add_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.

Warn

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 capacity
  • lifecycle_om_cost Lifecycle operations and maintenance cost in present value, after tax
  • year_one_energy_produced_kwh Energy produced over the first year
  • average_annual_energy_produced_kwh Average annual energy produced when accounting for degradation
  • lcoe_per_kwh Levelized Cost of Energy produced by the PV system
  • year_one_to_load_series_kw Vector of power used to meet load over the first year
  • year_one_to_battery_series_kw Vector of power used to charge the battery over the first year
  • year_one_to_grid_series_kw Vector of power exported to the grid over the first year
  • year_one_curtailed_production_series_kw Vector of power curtailed over the first year
  • average_annual_energy_exported_kwh Average annual energy exported to the grid
source

Wind outputs

REoptLite.add_wind_resultsFunction
add_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 capacity
  • lifecycle_om_cost Lifecycle operations and maintenance cost in present value, after tax
  • year_one_om_cost Operations and maintenance cost in the first year
  • year_one_to_battery_series_kw Vector of power used to charge the battery over the first year
  • year_one_to_grid_series_kw Vector of power exported to the grid over the first year
  • average_annual_energy_exported_kwh Average annual energy exported to the grid
  • year_one_to_load_series_kw Vector of power used to meet load over the first year
  • year_one_energy_produced_kwh Energy produced over the first year
  • average_annual_energy_produced_kwh Average annual energy produced when accounting for degradation
  • lcoe_per_kwh Levelized Cost of Energy produced by the PV system
  • year_one_curtailed_production_series_kw Vector of power curtailed over the first year
source

Storage outputs

REoptLite.add_storage_resultsFunction
add_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 capacity
  • size_kwh Optimal storage capacity
  • year_one_soc_series_pct Vector of normalized (0-1) state of charge values over the first year
  • year_one_to_load_series_kw Vector of power used to meet load over the first year
  • year_one_to_grid_series_kw Vector of power exported to the grid over the first year
source

Generator outputs

REoptLite.add_generator_resultsFunction
add_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 capacity
  • lifecycle_fixed_om_cost Lifecycle fixed operations and maintenance cost in present value, after tax
  • year_one_fixed_om_cost fixed operations and maintenance cost over the first year
  • lifecycle_variable_om_cost Lifecycle variable operations and maintenance cost in present value, after tax
  • year_one_variable_om_cost variable operations and maintenance cost over the first year
  • lifecycle_fuel_cost Lifecycle fuel cost in present value, after tax
  • year_one_fuel_cost Fuel cost over the first year
  • fuel_used_gal Gallons of fuel used in each year
  • year_one_to_battery_series_kw Vector of power sent to battery in year one
  • year_one_to_grid_series_kw Vector of power sent to grid in year one
  • year_one_to_load_series_kw Vector of power sent to load in year one
  • year_one_energy_produced_kwh Total energy produced in year one
  • average_annual_energy_produced_kwh Average annual energy produced over analysis period
source

CHP outputs

REoptLite.add_chp_resultsFunction
add_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 [$]
source

Uncertain Outages outputs

REoptLite.add_outage_resultsFunction
add_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.

Note

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.

Warn

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 name PV can change based on user provided PV.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 name Generator can change based on user provided Generator.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.
Warn

The output keys for "Outages" are subject to change.

source