REopt_API
REopt_API copied to clipboard
/simulated_load POST request updates
- Fixes POST requests with
doe_reference_nameinput to pass along the lat/long inputs (was not passing those inputs through) - Makes
load_typeoptional for both GET and POST requests, with a defaultload_type=electric, consistent with thesimulated_load()function in REopt.jl - Makes the
yearinput not required for inputs withdoe_reference_name, as that is 2017 by default - Improves clarity of conditional required vs optional inputs, depending on if
normalize_and_scale_load_profile_inputis true ordoe_reference_nameis input which are key distinct scenarios for/simulated_load - Adds tests in
test_http_endpoints.pyto test expected POST request functionality