CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 43
8. Deprecated: V2 "job" inputs and outputs
An optimization job is created by POST'ing your Scenario to the job endpoint.
The structure of a Scenario is shown in the API code, which also contains descriptions, defaults, and minimum/maximum values of the inputs.
For example, a Scenario POST looks like:
{"Scenario": {
"Site": {
"longitude": -118.1164613,
"latitude": 34.5794343,
"roof_squarefeet": 5000.0,
"land_acres": 1.0,
"PV": {
"installed_cost_us_dollars_per_kw": 2000.0,
"tilt": 34.579,
"degradation_pct": 0.005,
"macrs_option_years": 5,
"federal_itc_pct": 0.3,
"module_type": 0,
"array_type": 1,
"om_cost_us_dollars_per_kw": 16.0,
"macrs_itc_reduction": 0.5,
"azimuth": 180.0,
"federal_rebate_us_dollars_per_kw": 350.0
},
"LoadProfile": {
"doe_reference_name": "RetailStore",
"annual_kwh": 10000000.0,
"city": "LosAngeles"
},
"Storage": {
"total_rebate_per_kw": 100.0,
"macrs_option_years": 5,
"can_grid_charge": true,
"macrs_bonus_pct": 0.4,
"macrs_itc_reduction": 0.5,
"total_itc_pct": 0,
"installed_cost_us_dollars_per_kw": 1000.0,
"installed_cost_us_dollars_per_kwh": 500.0,
"replace_cost_us_dollars_per_kw": 460.0,
"replace_cost_us_dollars_per_kwh": 230.0
},
"ElectricTariff": {
"urdb_label": "5ed6c1a15457a3367add15ae"
},
"Financial": {
"escalation_pct": 0.026,
"offtaker_discount_pct": 0.081,
"owner_discount_pct": 0.081,
"analysis_years": 20,
"offtaker_tax_pct": 0.4,
"owner_tax_pct": 0.4,
"om_cost_escalation_pct": 0.025
}
}
}}
Note that many of the input fields in the above example are not required. If you see a default value in the nested_inputs_definitions
for any field then it is not required. Also, some fields are conditionally required. For example there are many ways to define your electric load profile, including providing your own loads_kw
, scaling one (or multiple) DoE Commercial Reference Building (CRB) profiles, or using a DoE CRB default load.
The output keys provided by the v2 job endpoint are documented in the API code.