Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ example_files/python_deps/Miniconda*
example_files/python_deps/python_config.json
example_files/python_deps/python
example_files/python_deps/python-3.10


reopt_project
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
# if allow_local && File.exist?('../urbanopt-reporting-gem')
# gem 'urbanopt-reporting', path: '../urbanopt-reporting-gem'
# elsif allow_local
gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
# gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
# end

# if allow_local && File.exist?('../urbanopt-rnm-us-gem')
Expand Down
6 changes: 3 additions & 3 deletions example_files/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ gem 'openstudio-geb', '~> 0.7.0'
# elsif allow_local
# gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop'
# else
gem 'urbanopt-geojson', '~> 1.1.0'
gem 'urbanopt-geojson', '~> 1.2.0'
# end

# NEVER put SCENARIO-GEM in this file...it will make all simulations fail due to the sqlite dependency
Expand All @@ -93,7 +93,7 @@ gem 'urbanopt-geojson', '~> 1.1.0'
# if allow_local && File.exist?('../urbanopt-reporting-gem')
# gem 'urbanopt-reporting', path: '../../urbanopt-reporting-gem'
# elsif allow_local
gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
# gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
# else
#gem 'urbanopt-reporting', '~> 1.1.0'
gem 'urbanopt-reporting', '~> 1.2.0'
# end
6 changes: 3 additions & 3 deletions example_files/reopt/base_assumptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ElectricLoad": {
"year": 2017,
"critical_loads_kw_is_net": false,
"critical_load_fraction": 0,
"critical_load_fraction": 1.0,
"loads_kw_is_net": true
},
"PV": {
Expand Down Expand Up @@ -78,14 +78,14 @@
"fuel_intercept_gal_per_hr": 0.0125,
"generator_only_runs_during_grid_outage": true,
"state_rebate_per_kw": 0.0,
"installed_cost_per_kw": 2500.0,
"installed_cost_per_kw": 650.0,
"utility_ibi_max": 0.0,
"fuel_avail_gal": 0.0,
"min_turn_down_fraction": 0.3,
"production_incentive_max_kw": 0.0,
"utility_ibi_fraction": 0.0,
"state_ibi_max": 0.0,
"fuel_cost_per_gallon": 20.0,
"fuel_cost_per_gallon": 2.25,
"fuel_slope_gal_per_kwh": 0.068,
"utility_rebate_max": 0.0,
"macrs_option_years": 0,
Expand Down
5 changes: 5 additions & 0 deletions example_files/reopt/erp_assumptions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Outage":{
"max_outage_duration": 24
}
}
6 changes: 3 additions & 3 deletions example_files/reopt/multiPV_assumptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ElectricLoad": {
"year": 2017,
"critical_loads_kw_is_net": false,
"critical_load_fraction": 0,
"critical_load_fraction": 1.0,
"loads_kw_is_net": true
},
"PV": [
Expand Down Expand Up @@ -116,14 +116,14 @@
"fuel_intercept_gal_per_hr": 0.0125,
"generator_only_runs_during_grid_outage": true,
"state_rebate_per_kw": 0.0,
"installed_cost_per_kw": 2500.0,
"installed_cost_per_kw": 650.0,
"utility_ibi_max": 0.0,
"fuel_avail_gal": 0.0,
"min_turn_down_fraction": 0.3,
"production_incentive_max_kw": 0.0,
"utility_ibi_fraction": 0.0,
"state_ibi_max": 0.0,
"fuel_cost_per_gallon": 20.0,
"fuel_cost_per_gallon": 2.25,
"fuel_slope_gal_per_kwh": 0.068,
"utility_rebate_max": 0.0,
"macrs_option_years": 0,
Expand Down
166 changes: 166 additions & 0 deletions example_files/reopt/multiPV_assumptions_ERP.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
{
"Settings": {
"timeout_seconds": 295,
"time_steps_per_hour": 1,
"off_grid_flag": false
},
"Site": {
"roof_squarefeet": null,
"renewable_electricity_min_fraction": 0,
"renewable_electricity_max_fraction": 1
},
"Financial": {
"elec_cost_escalation_rate_fraction": 0.026,
"offtaker_discount_rate_fraction": 0.081,
"value_of_lost_load_per_kwh": 100.0,
"analysis_years": 20,
"microgrid_upgrade_cost_fraction": 0.3,
"offtaker_tax_rate_fraction": 0.26,
"om_cost_escalation_rate_fraction": 0.025
},
"ElectricTariff": {
"add_monthly_rates_to_urdb_rate": false,
"urdb_label": "63d2f36655296095a0092a6e"
},
"ElectricUtility": {
"interconnection_limit_kw": 100000000.0,
"net_metering_limit_kw": 0.0,
"outage_start_time_steps": [1000],
"outage_durations": [24]
},
"ElectricLoad": {
"year": 2017,
"critical_loads_kw_is_net": false,
"critical_load_fraction": 1.0,
"loads_kw_is_net": true
},
"PV": [
{
"name": "Roof - South Face",
"location":"roof",
"production_incentive_years": 1.0,
"macrs_bonus_fraction": 0.0,
"max_kw": 1000000000.0,
"production_incentive_max_benefit": 1000000000.0,
"radius": 0.0,
"state_ibi_fraction": 0.0,
"utility_rebate_max": 10000000000.0,
"installed_cost_per_kw": 2000.0,
"utility_ibi_max": 10000000000.0,
"tilt": 10.0,
"federal_rebate_per_kw": 0.0,
"gcr": 0.4,
"production_incentive_max_kw": 1000000000.0,
"utility_ibi_fraction": 0.0,
"state_ibi_max": 10000000000.0,
"state_rebate_per_kw": 0.0,
"macrs_option_years": 5,
"state_rebate_max": 10000000000.0,
"dc_ac_ratio": 1.1,
"federal_itc_fraction": 0.3,
"production_incentive_per_kwh": 0.0,
"module_type": 0,
"array_type": 1,
"existing_kw": 0.0,
"om_cost_per_kw": 16.0,
"utility_rebate_per_kw": 0.0,
"min_kw": 0.0,
"losses": 0.14,
"macrs_itc_reduction": 0.5,
"degradation_fraction": 0.005,
"inv_eff": 0.96,
"azimuth": 180.0
},
{
"name": "Groundmount",
"location":"ground",
"production_incentive_years": 1.0,
"macrs_bonus_fraction": 0.0,
"max_kw": 1000000000.0,
"production_incentive_max_benefit": 1000000000.0,
"radius": 0.0,
"state_ibi_fraction": 0.0,
"utility_rebate_max": 10000000000.0,
"installed_cost_per_kw": 2000.0,
"utility_ibi_max": 10000000000.0,
"tilt": 10.0,
"federal_rebate_per_kw": 0.0,
"gcr": 0.4,
"production_incentive_max_kw": 1000000000.0,
"utility_ibi_fraction": 0.0,
"state_ibi_max": 10000000000.0,
"state_rebate_per_kw": 0.0,
"macrs_option_years": 5,
"state_rebate_max": 10000000000.0,
"dc_ac_ratio": 1.1,
"federal_itc_fraction": 0.3,
"production_incentive_per_kwh": 0.0,
"module_type": 0,
"array_type": 1,
"existing_kw": 0.0,
"om_cost_per_kw": 16.0,
"utility_rebate_per_kw": 0.0,
"min_kw": 0.0,
"losses": 0.14,
"macrs_itc_reduction": 0.5,
"degradation_fraction": 0.005,
"inv_eff": 0.96,
"azimuth": 180.0
}
],
"Generator": {
"production_incentive_years": 0.0,
"macrs_bonus_fraction": 0.0,
"om_cost_per_kwh": 20.0,
"max_kw": 1000000000.0,
"production_incentive_max_benefit": 0.0,
"state_ibi_fraction": 0.0,
"fuel_intercept_gal_per_hr": 0.0125,
"generator_only_runs_during_grid_outage": true,
"state_rebate_per_kw": 0.0,
"installed_cost_per_kw": 650,
"utility_ibi_max": 0.0,
"fuel_avail_gal": 0.0,
"min_turn_down_fraction": 0.3,
"production_incentive_max_kw": 0.0,
"utility_ibi_fraction": 0.0,
"state_ibi_max": 0.0,
"fuel_cost_per_gallon": 2.25,
"fuel_slope_gal_per_kwh": 0.068,
"utility_rebate_max": 0.0,
"macrs_option_years": 0,
"state_rebate_max": 0.0,
"federal_itc_fraction": 0.0,
"existing_kw": 0.0,
"production_incentive_per_kwh": 0.0,
"om_cost_per_kw": 50.0,
"utility_rebate_per_kw": 0.0,
"min_kw": 0.0,
"macrs_itc_reduction": 0.0,
"federal_rebate_per_kw": 0.0,
"generator_sells_energy_back_to_grid": false
},
"ElectricStorage": {
"max_kwh": 1000000.0,
"rectifier_efficiency_fraction": 0.96,
"total_itc_fraction": 0.0,
"min_kw": 0.0,
"max_kw": 1000000.0,
"replace_cost_per_kw": 460.0,
"replace_cost_per_kwh": 230.0,
"min_kwh": 0.0,
"installed_cost_per_kw": 1000.0,
"total_rebate_per_kw": 0,
"installed_cost_per_kwh": 500.0,
"inverter_efficiency_fraction": 0.96,
"macrs_itc_reduction": 0.5,
"can_grid_charge": true,
"macrs_bonus_fraction": 0.0,
"battery_replacement_year": 10,
"macrs_option_years": 7,
"internal_efficiency_fraction": 0.975,
"soc_min_fraction": 0.2,
"soc_init_fraction": 0.5,
"inverter_replacement_year": 10
}
}
Loading