URBANopt RNM-US Gem
The URBANopt™ RNM-US Gem includes functionalities to interface the URBANopt SDK to the RNM-US Gem for the development of a synthetic optimum distribution network in the considered district, given data related to the buildings energy consumption/DER energy generation and location, modeled by the other URBANopt modules. The RNM-US Gem is used to collect required data for the execution of RNM-US, which has been modeled in the other URBANopt modules, translating information provided in .json and .csv format into .txt files
The URBANopt RNM-US Gem extracts output values from the other URBANopt Gems, to create required input files for the execution of the RNM-US software for the development of a synthetic distribution grid.
RNM-US provides output results in GIS, JSON and OpenDSS format. The results in GIS format outline the graphical representation of the synthetic distribution network modeled, including a visual outline of the street map of the considered district, the location of the consumers, transformers and substations, including the power lines layout. The JSON format output provides a set of results regarding size, costs and measures of the synthetic network modelled. The OpenDSS format presents results for power system analysis and simulations.
The current functionalities of the RNM-US Gem include the creation of a streetmap text file, the substation txt file and multiple txt files related to the consumers peak loads and profiles and DERs peak generation and profiles. The streetmap text file is developed from coordinates information provided by geoJSON feature file input. The customers and generators text files, which define all the network consumers and DG included in the project, are created from their peak electricity demand/generation, and building location, provided by csv and json feature_report files modeled by the URBANopt Scenario Gem. The profiles txt files are divided among the consumers hourly profiles of active and reactive power and the DG hourly profiles of active and reactive power for the 2 most "extreme" days of maximum net demand and maximum net generation for the district . Finally, the extended profiles txt files provide the active and reactive profiles for each consumer/DG for the whole year.
Generate input files
create_inputs rake command can be used to generate the RNM-US inputs for an arbitrary command. You will need to specify the path to the scenario results directory and the path to the GeoJSON feature file:
bundle exec rake create_inputs[/path/to/example_project/run/scenario_name,/path/to/feature_file.json]
Several options can be set when creating the input files and running the RNM-US process.
- REopt: Set the
truewhen initializing the runner to use REopt results in the RNM-US inputs.
- Underground cables ratio: Set the
underground_cables_ratiofield at the project level in the JSON Feature File to specify the ratio of underground cables to overhead cables. If this field is not set, the default value of 0.9 will be used.
- Low-Voltage Only: Set the boolean
only_lv_consumersfield at the project level in the JSON Feature File. If set to
true, only low voltage consumers will be considered in the RNM analysis. If this field is not set, the default value of
truewill be used.
Generating OpenDSS catalog
An OpenDSS-formatted catalog can be generated from the extended catalog with the following command:
bundle exec rake create_opendss_catalog[/desired/path/to/opendss_catalog.json]
bundle exec rspec