translate

dragonfly-iesve translate

Commands for translating Dragonfly JSON files to IES files.

dragonfly-iesve translate [OPTIONS] COMMAND [ARGS]...

model-to-gem

Translate a Dragonfly Model JSON file to an IES-VE GEM file.

Args:
model_json: Full path to a Model JSON file (DFJSON) or a Model pkl (DFpkl) file.
dragonfly-iesve translate model-to-gem [OPTIONS] MODEL_FILE

Options

--multiplier, -fg, --full-geometry

Flag to note if the multipliers on each Building story will be passed along to the generated Room objects or if full geometry objects should be written for each story in the building.

Default:

True

-p, --plenum, -np, --no-plenum

Flag to indicate whether ceiling/floor plenum depths assigned to Room2Ds should generate distinct 3D Rooms in the translation.

Default:

True

-m, --merge-method <merge_method>

Text to describe how the Room2Ds should be merged into individual Rooms during the translation. Specifying a value here can be an effective way to reduce the number of Room volumes in the resulting Model and, ultimately, yield a faster simulation time with less results to manage. Choose from: None, Zones, PlenumZones, Stories, PlenumStories.

Default:

'None'

-o, --output-file <output_file>

Optional GEM file path to output the GEM string of the translation. By default this will be printed out to stdout.

Default:

'-'

Arguments

MODEL_FILE

Required argument