Skip to content

Instantly share code, notes, and snippets.

@mitchute
Created March 11, 2022 17:31
Show Gist options
  • Save mitchute/fe5451e275e25af10b563777c0ed474e to your computer and use it in GitHub Desktop.
Save mitchute/fe5451e275e25af10b563777c0ed474e to your computer and use it in GitHub Desktop.
Battery Example
{
"measure_name": "add_battery",
"name": "add battery 1",
"parameters": [
{
"base_value": "NonlinearMPC",
"dtype": "string",
"method": "constant",
"name": "controls"
},
{
"base_value": "LMOLTO",
"dtype": "string",
"name": "batt_chem"
},
{
"base_value": 540,
"dtype": "float",
"name": "installed_cost_us_dollars_per_kw"
},
{
"base_value": 120,
"dtype": "float",
"name": "installed_cost_us_dollars_per_kwh"
},
{
"base_value": 1000000,
"dtype": "float",
"name": "max_kw"
},
{
"base_value": 1000000,
"dtype": "float",
"name": "max_kwh"
},
{
"base_value": 2.5,
"dtype": "float",
"name": "min_kw"
},
{
"base_value": 10,
"dtype": "float",
"name": "min_kwh"
},
{
"base_value": 0.6,
"dtype": "float",
"method": "linspace",
"neg_frac_from_base_value": 0.1667,
"num_linspace_values": 3,
"pos_frac_from_base_value": 0.1667,
"name": "replacement_capacity"
},
{
"base_value": 0.06,
"dtype": "float",
"name": "cost_deescalation_rate"
},
{
"base_value": "reopt",
"dtype": "float",
"method": "linspace",
"name": "size_kw",
"neg_frac_from_base_value": 1.0,
"num_linspace_values": 9,
"pos_frac_from_base_value": 3.0
},
{
"base_value": "reopt",
"dtype": "float",
"method": "linspace",
"name": "size_kw_to_size_kwh_ratio",
"neg_frac_from_base_value": 0.25,
"num_linspace_values": 5,
"pos_frac_from_base_value": 0.25
},
{
"base_value": 0.5,
"dtype": "float",
"method": "constant",
"name": "soc_init_pct"
},
{
"base_value": 0.9,
"dtype": "float",
"method": "constant",
"name": "soc_max_pct"
},
{
"base_value": 0.1,
"dtype": "float",
"method": "constant",
"name": "soc_min_pct"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment