translate

dragonfly-doe2 translate

Commands for translating Dragonfly files to DOE-2.

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

model-to-inp

Translate a Dragonfly Model file to a Radiance string.

The resulting string will include all geometry and all modifiers.

Args:
model_file: Full path to a Dragonfly Model JSON or Pkl file.
dragonfly-doe2 translate model-to-inp [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 Honeybee 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

-a, --ceil-adjacency, -na, --no-ceil-adjacency

Flag to indicate whether adjacencies should be solved between interior stories when Room2Ds perfectly match one another in their floor plate. This ensures that Surface boundary conditions are used instead of Adiabatic ones. Note that this input has no effect when the object-per-model is Story.

Default:

True

-sp, --sim-par-json <sim_par_json>

Full path to a honeybee-doe2 SimulationPar JSON that describes all of the settings for the simulation. If unspecified, default parameters will be generated.

-hm, --hvac-mapping <hvac_mapping>

Text to indicate how HVAC systems should be assigned to the exported model. Story will assign one HVAC system for each distinct level polygon, Model will use only one HVAC system for the whole model and AssignedHVAC will follow how the HVAC systems have been assigned to theRooms.properties.energy.hvac. Choose from: Room, Story, Model, AssignedHVAC

Default:

'Story'

--include-interior-walls, -xw, --exclude-interior-walls

Flag to note whether interior walls should be excluded from the export.

Default:

True

--include-interior-ceilings, -xc, --exclude-interior-ceilings

Flag to note whether interior ceilings should be excluded from the export.

Default:

True

-eq, --equest-version <equest_version>

Optional text string to denote the version of eQuest for which the INP definition will be generated. If unspecified or unrecognized, the latest version of eQuest will be used.

Default:

'3.65'

-o, --output-file <output_file>

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

Default:

'-'

Arguments

MODEL_FILE

Required argument