Skip to main content

Enhancement of URBANopt GeoJSON that can be consumed by DiTTo reader

Project description

urbanopt-ditto-reader

Enhancement of URBANopt™ GeoJSON that can be consumed by DiTTo reader More detailed documentation is available on the URBANopt documentation page

Installation Pre-requisites

  • Python >=3.7

Installation

pip install urbanopt-ditto-reader

Running the converter

You are expected to have an existing URBANopt project dir with successful simulations of electrical network components before using this package.

Use the included Command Line Interface:

ditto_reader_cli -h

For help text in the terminal:

ditto_reader_cli run-opendss -h

Example command to run the ditto-reader:

ditto_reader_cli run-opendss -s <ScenarioFile> -f <FeatureFile>

Or build and use a config file (not necessary if using flags like the above example):

ditto_reader_cli run-opendss -c urbanopt_ditto_reader/example_config.json

If you are using your own config.json file, use the following fields:

  1. "urbanopt_scenario_file": Required, Path to scenario csv file
  2. "urbanopt_geojson_file": Required, Path to feature json file
  3. "equipment_file": Optional, Path to custom equipment file
  4. "opendss_folder": Required, Path to dir created by this command, holding openDSS output
  5. "use_reopt": Required, Boolean (True/False) to analyze reopt data, if it has been provided
  6. "number_of_timepoints": Required, Integer number of hours to simulate. 8760 is a complete year

Developer installation

Clone the repository: git clone https://github.com/urbanopt/urbanopt-ditto-reader.git

Change directories into the repository: cd urbanopt-ditto-reader

Install the respository:

pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

urbanopt-ditto-reader-0.3.7.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

urbanopt_ditto_reader-0.3.7-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file urbanopt-ditto-reader-0.3.7.tar.gz.

File metadata

  • Download URL: urbanopt-ditto-reader-0.3.7.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

File hashes

Hashes for urbanopt-ditto-reader-0.3.7.tar.gz
Algorithm Hash digest
SHA256 cbe80cdaa8210a9447acffd060b0d0bb1fcf75c58a9649f9f2452463671df192
MD5 2c36ceb8e95664748892e466afd99daf
BLAKE2b-256 0d823acf77c3fdada0b60f128d8647415f48c4ba7e7296b20ef775adf7c87760

See more details on using hashes here.

File details

Details for the file urbanopt_ditto_reader-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: urbanopt_ditto_reader-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

File hashes

Hashes for urbanopt_ditto_reader-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 802aace3a5c5acbb2564cb65c7a8cdc17fa8b768fe138303d771c65d752f7a50
MD5 642abda4865f885eea1bc0d9f113344c
BLAKE2b-256 07efce320eb1c7cbf5b71977256b71e82e41dcd8cd49c09ddfc13031d6923596

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page